forked from x97mdr/pickles
-
Notifications
You must be signed in to change notification settings - Fork 164
ReleaseProcess
Dirk Rombauts edited this page Jul 14, 2020
·
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
- 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.bat
- Open a command line and run "build.bat". This will do the following:
- build the code
- run unit tests
- zip the runners
- create nuget and chocolatey 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 branch to GitHub
- Merge to the master branch
- Create a pull request from the release 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.