Skip to content

Commit

Permalink
#46. Updated more release procedures.
Browse files Browse the repository at this point in the history
  • Loading branch information
zionyx committed Sep 16, 2015
1 parent 143f7cd commit 2a6732c
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 36 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Stories in Ready](https://badge.waffle.io/zionyx/jenkins-tray.png?label=ready&title=Ready)](https://waffle.io/zionyx/jenkins-tray)
[![Stories in Ready](https://badge.waffle.io/zionyx/jenkins-tray.png?label=ready&title=Ready)](https://waffle.io/zionyx/jenkins-tray) [![Build status](https://ci.appveyor.com/api/projects/status/5dbg80yah8w90hlm?svg=true)](https://ci.appveyor.com/project/zionyx/jenkins-tray-tracker)

Jenkins Tray
============

Expand Down
20 changes: 0 additions & 20 deletions README.txt

This file was deleted.

45 changes: 30 additions & 15 deletions RELEASE.md
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.

0 comments on commit 2a6732c

Please sign in to comment.