-
Notifications
You must be signed in to change notification settings - Fork 18
Release Process for Registrar
Rebecca H edited this page Apr 25, 2024
·
10 revisions
A step-by-step instruction guide to creating a release
- Navigate to https://github.com/cisagov/getgov/tags
- Find the desired staging release (it should normally be from 2-5 days ago). Save the release tag.
- In a terminal window run
git checkout releaseTag
(where releaseTag is the tag from the step above) - In the same window run
git tag newTag
(note, tag must start with v and that the v is lowercase, for example v0.5.0). Tags use semantic versioning (the next version after 0.9.0 is 0.10.0). Go to version 1.0.0 when the code is ready for use by the public. - In the same window run
git push origin newTag
- Navigate back to https://github.com/cisagov/getgov/releases
- Click on Draft a New Release
- select the tag that you just made
- Click Generate Release Notes
- This should generate the title, capitalize the V in the title so it's differentiated from the tag
- If you made this release after the staging release you may see no changes appearing. In this case, go to the staging release that you based this release off of (which ever releaseTag you used). Then copy the release notes from that and place in the body of these release notes.
- Click Publish release
- Once the release workflow finishes log in and check that stable is working as expected
The deploy action will run as soon as you push the new tag, it does not wait until you make a release. The release is just for documentation.