Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fix Jira Link

...

Code Block
rr_git.py --destination C:/MyWork/UKRR/Master


Warning

Despite not supplying branch_label this seems to clone the sub-packages using the branch ID from the requirements.txt files.  Make sure to checkout master in each directory before doing the next actions.


It also seems not to work if the output directory already exists. In this situation a "pull" is also required.


(Amend path as required)

4) Remove references to the branch from the requirements.txt in the repos under the master folder. Push afterwards.

Note that this requires 

Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId35505f1e-644e-3a35-bc6c-2d63e77a590f
keyRR-1436
to be done before this can be automatically.


3) Tag the branch with -


Code Block
rr_git.py --action tag --tag-label vY.Y.Y --destination C:/MyWork/UKRR/Master

...

Y.Y.Y here should be the version being released.

Note

Git, or at least the version of Git on my PC breaks if a tag and branch exist with the same names. This is why I have the tag labels prefixed with a 'v'.

4) Remove references to the branch from the requirements.txt in the repos under the master folder.

Code Block
rr_git.py --action update --destination C:/MyWork/UKRR/Master --message "Update requirements.txt"

...

Jira Legacy
serverUK Renal Registry Jira
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverIdf5f38dbd-4aee-38a9-ae26-bb00e3a680b4
keyRR-1436

...

.



5) A new build should have been made under

...