Steps to create patch release(s) - az-digital/az_quickstart GitHub Wiki
Update release branches
Follow these steps for each $RELEASE_BRANCH (e.g. 2.2.x) that needs a new new release.
-
Create a "pick list" of
$COMMITreferences in the main branch that need to be included in each release branch. Use the chronological commit order when creating the list. The "Copy full commit SHA" button in the GitHub UI is useful for this.
-
Create a local clone of the Quickstart repo and checkout the
$RELEASE_BRANCH.git clone -b ${RELEASE_BRANCH} -- [email protected]:az-digital/az_quickstart.git ${RELEASE_NAME} cd ${RELEASE_NAME} -
Run
git cherry-pickfor each$COMMITin the pick list.# For each main branch $COMMIT reference to be included in the release: git cherry-pick -x ${COMMIT} -
If any errors are encountered, it may be necessary to address merge conflicts and then run
git cherry-pick --continueorgit cherry-pick --abortafter eachgit cherry pick ${COMMIT}command. Usegit statusto confirm which cherry-pick commands are remaining after you continue. -
Generate release notes snippet with the following
git logcommand using the$LAST_RELEASE_TAG(e.g.2.2.5) as the starting point. Paste this into the release plan issue. You'll use this in step 4 of the Create Release process.git log ${LAST_RELEASE_TAG}..HEAD --pretty='format:- %s' -
Push changes to origin.
git push origin ${RELEASE_BRANCH}
Create release
-
From the Actions tab on the
az_quickstartrepo on GitHub, confirm that the new Security workflow for the release branch has completed, and then selectCreate Releasefrom the list of available workflows in the sidebar:
-
Click the
Run workflowdropdown button, select correct$RELEASE_BRANCHin theUse workflow fromdropdown, provide the new release tag name, e.g.2.2.5, as theThe version to tag and releasevalue, and then click theRun workflowbutton.
-
From the code tab of the
az_quickstartrepo on GitHub, click on the new release in the right sidebar.
-
Click the pencil icon to edit the release.

-
Paste the release notes snippet into the release description and click
Update Release.
-
Copy the link to the release, paste it into a comment on the release plan issue, and close the issue.
-
Go to the release project, edit the project by clicking on the pencil icon next to the project name, and then scroll down to close the project.