-
Notifications
You must be signed in to change notification settings - Fork 354
How to create a new release
Marten Smits edited this page Apr 24, 2024
·
14 revisions
The following steps explain how to create a release. These steps are done by members of the Firely company.
- The release notes are generated automatically during the release process.
- Edit the
release-notes.mdfile to include additional general information about the release. - Create a branch and submit a pull request to update the
release-notes.mdfile in the repository (this step can also be performed during a sprint).
- Ensure that all necessary pull requests have been merged.
- Update your local GIT repository to the latest version.
- Create a new release branch named
release/x.y.z, wherex.y.zrepresents the new version number. - Modify the
VersionPrefixin thesrc/firely-net-sdk.propsfile by creating a pull request on therelease/x.y.zbranch. - Once the build server confirms success, set a tag on the latest commit of the
release/x.y.zbranch to trigger the release. - Create a new tag named
vx.y.zfor this commit and push it to GitHub, which will initiate the release pipeline. - The Azure DevOps pipeline will require an additional approval for the final stage, which involves pushing the packages to NuGet. Review the details and, if everything is satisfactory, grant approval to finalize the release.
- The Azure DevOps pipeline will generate a draft release here. Review the contents of the release notes, and when they are accurate, click the publish button. This action will also publish the notes in Slack and Zulip.
- Merge the
release/x.y.zbranch into both themainanddevelopbranches. Do this by creating PRs fromrelease/x.y.ztodevelopandrelease/x.y.ztomain. Another team member should approve those PRs. - Update the
VersionPrefixin thesrc/firely-net-sdk.propsfile tox.y.z+1by creating a pull request on thedevelopbranch. - Update
PackageValidationBaselineVersionto your just released version. - Run
dotnet pack /p:GenerateCompatibilitySuppressionFile=truelocally to reset the compatibility suppression file