forked from x97mdr/pickles
-
Notifications
You must be signed in to change notification settings - Fork 164
ReleaseProcess
Eric Carlson edited this page May 10, 2022
·
32 revisions
We denote versions with x.y.z where x is the major version, y the minor version and z the revision number
- Create a branch release-x.y.z, and check it out
- Update CHANGELOG.md to include the new release
- Release Number
- Date
- New Feature(s) if any
- Bug(s) Fixed if any
- Check the version number in _build\build.cs
- Open a command line and run "build". This will do the following:
- build the code
- run unit tests
- zip the runners
- create nuget packages
- Unzip the files in the deploy folder by running "unzip x.y.z"
- Test the runners
- testRunnerCmd.cmd x.y.z
- testRunnerMsBuild.cmd x.y.z
- testRunnerPowerShell x.y.z
- Run
DeployArtifacts.cmd x.y.z
- this will- Run "DeployOutput.cmd x.y.z" - this will
- Generate outputs with new version (this is already done by the "test the runners" step)
- commit the changes to the repository
- Push the nuget packages to nuget gallery by running "DeployToNuget x.y.z"
- Upload the chocolatey packages to chocolatey by running "DeployToChocolatey x.y.z"
- Run "DeployOutput.cmd x.y.z" - this will
- Push the release-x.y.z branch to GitHub
- Merge to the master branch
- Create a pull request from the release-x.y.z branch to the master branch
- Wait for the continuous build to be green
- Merge the pull request
- Create a release on GitHub
- called vx.y.z
- with release notes
- tag it with 'vx.y.z' on branch master
- Upload file "$/deploy/pickles-RUNNER-x.y.z.zip" for each RUNNER to the release
- Remove ready-to-be-released label from each issue/pr that is released, and add a "released in version x.y.z" comment.
- Tweet using @PicklesDoc
PS: the "Release" branch is only used for historical purposes. We used to put releases on their. These days, we tag the master branch with the release.