How to release an AzureTRE version
A release is created when enough changes have been made and the main branch is stable enough.
The process follows these steps:
- Create a
Prep for Release v0...
issue to track. - Create a new branch for the release prep and open in Dev Container.
- Update
CHANGELOG.md
in a PR with the following:- Rename the top-most version noted as unreleased with the version number that makes sense. Note that you don't have to keep the one that is currently in the file as the version number chosen should reflect the changes made (major, minor, etc.).
- Create a new section for the next-unreleased version so that future changes will be placed there.
- Run
devops/scripts/list_versions.sh
and include the output in the change log for the version you're about the release.
- Create PR and link to the
Prep...
issue. - Merge the PR.
-
Create GitHub Release in
Pre Release
state.- Go to https://github.com/microsoft/AzureTRE/releases/new
- Click on
Choose a tag
and type a new one for you version. It should be in the form ofv0.9.2
- note the "v" in the beginning. - The release title should be just the version number "0.9.2" in the example above.
- Copy the text from the CHANGELOG.md file and paste in the release description.
- Include a final line with a link to the full changelog similar to this:
Full Changelog: https://github.com/microsoft/AzureTRE/compare/v0.9.1...v0.9.2 7. Update AzureTRE-Deployment. The procedure may vary depending on the level of changes introduced in the new version but should include the following steps: 1. Update the tag used in devcontainer.json. 2. Rebuild the container. 3. Compare both
.devcontainer
and.github
folders of the new release with the ones in the repo and make required updates so that only required difference exist. The compare can be done with VSCode Compare Folders extension as you have both the old version (under to root folder) and the "new" one inside the AzureTRE symlink. 4. With all changes made, rebuild the container to verify it's working and that AzureTRE folder has been populated correctly. 8. Once tests have been complete edit GitHub Release by disablingSet as a pre-release
and enablingSet as the latest release
.