forked from aseigneurin/hudson-tray-tracker
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#46. Updated more release procedures.
- Loading branch information
Showing
3 changed files
with
32 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,38 @@ | ||
# Release Procedure | ||
|
||
0. Tools to use for markdown: http://jbt.github.io/markdown-editor/ | ||
|
||
## Pre-Release Procedures: | ||
- Update **\common\VersionInfo.cs** | ||
``` | ||
[assembly: System.Reflection.AssemblyFileVersion("x.x.x.0")] | ||
[assembly: System.Reflection.AssemblyInformationalVersion("x.x.x.0")] | ||
- Update `common\VersionInfo.cs` | ||
```csharp | ||
[assembly: System.Reflection.AssemblyFileVersion("X.X.X.0")] | ||
[assembly: System.Reflection.AssemblyInformationalVersion("X.X.X.0")] | ||
``` | ||
- Create an alpha tag, like **v1.0.3-alpha** | ||
- Commit changes and push to GitHub. | ||
(Where X.X.X = Major.Minor.Build version number. The last digit is not used as Revision.) | ||
- Commit and push to GitHub. | ||
|
||
## Pre-Release Notes Procedures: | ||
1. Draft a new release on GitHub, https://github.com/zionyx/jenkins-tray/releases/new | ||
|
||
2. Find out all the closed issues against a certain milestone: https://github.com/zionyx/jenkins-tray/milestones | ||
|
||
3. Use the recent alpha tag | ||
|
||
4. Use previous releases as guides, will update it here soon. | ||
0. Find all the closed issues against a certain milestone: https://github.com/zionyx/jenkins-tray/milestones | ||
0. Assure all issues closed in the release has the correct milestone set. | ||
0. Draft a new release on GitHub, https://github.com/zionyx/jenkins-tray/releases/new | ||
0. Tag master with an alpha tag with `-alpha` postfix. Eg: `vX.X.X-alpha` | ||
0. Use previous releases as guides, will update it here soon. | ||
0. Mark release as `This is a pre-release`. | ||
0. Publish release notes. | ||
|
||
5. Mark release as **This is a pre-release**. | ||
## Post-Release Procedures: | ||
0. Upon build completion, authenticode sign the new MSI file, with naming like `JenkinsTray_vX.X.X.0.msi`. | ||
0. Update `scripts\version.properties`: | ||
0. `version.number=X.X.X.0` | ||
0. `version.installerUrl=https://github.com/zionyx/jenkins-tray/releases/download/vX.X.X/JenkinsTray_vX.X.X.0.msi` | ||
0. Commit and push to GitHub. | ||
0. Edit the pre-release notes. | ||
0. Upload the signed MSI file to the release. | ||
0. Replace the alpha tag with the same version tag without `-alpha` postfix. Eg: `vX.X.X`. | ||
(This is important! It has to match the `version.installerUrl` in `scripts\version.properties` file. | ||
0. Uncheck `This is a pre-release`. | ||
0. Publish the release. | ||
0. Remove the alpha tag later. | ||
|
||
6. Publish release. | ||
## Side Note: | ||
0. Build has to be made on a build environment with licensed DevExpress installed. |