mantisbt:release_process
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mantisbt:release_process [2019/07/15 11:39] – [Bugtracker] make wrap box wider and add bold chars dregad | mantisbt:release_process [2022/05/10 10:07] (current) – [Packaging the Release] asc files are ascii-armored signature files dregad | ||
---|---|---|---|
Line 74: | Line 74: | ||
* Remove references to any debug statements | * Remove references to any debug statements | ||
* Update CREDITS file. | * Update CREDITS file. | ||
- | * If necessary, update the '' | + | * If necessary, |
* Run the script to update the Contributor' | * Run the script to update the Contributor' | ||
$ update-credits.sh | $ update-credits.sh | ||
Line 86: | Line 86: | ||
===== Cutting the Release ===== | ===== Cutting the Release ===== | ||
- | * Create an annotated, GPG-signed tag in Git; the tag should be formatted as "release-1.x.x" | + | * Create an annotated, GPG-signed tag in Git; the tag should be formatted as '' |
* For **stable releases** < | * For **stable releases** < | ||
- | $ git checkout master-1.M.x | + | $ git checkout master-M.N |
- | $ VERSION=1.M.N | + | $ VERSION=M.N.P |
$ git tag -s release-$VERSION -m " | $ git tag -s release-$VERSION -m " | ||
</ | </ | ||
* For **development releases** (e.g. alpha, beta, release candidates) < | * For **development releases** (e.g. alpha, beta, release candidates) < | ||
$ git checkout master | $ git checkout master | ||
- | $ VERSION=1.M.N | + | $ VERSION=M.N.P |
$ git tag -s release-$VERSION -m " | $ git tag -s release-$VERSION -m " | ||
</ | </ | ||
Line 102: | Line 102: | ||
</ | </ | ||
- | * In case we are starting a new stable branch, also create it using the format " | + | * In case we are starting a new stable branch, also create it using the format " |
- | $ git branch master-1.x.x master | + | $ git branch master-M.N master |
- | $ git push origin master-1.x.x | + | $ git push origin master-M.N |
</ | </ | ||
Line 135: | Line 135: | ||
Generate release tarballs using the '' | Generate release tarballs using the '' | ||
< | < | ||
- | $ /path/to/ | + | $ /build/ |
</ | </ | ||
- | This will create | + | This will create the following files in the ''/ |
- | [dregad] | + | * a //.zip// and //.tar.gz// tarball of the release |
+ | * a //.digest// file for each tarball with //md5// and, //sha*// hashes | ||
+ | * an ASCII-armored GPG signature file for each tarball (with //.asc// extension) | ||
+ | |||
+ | The '' | ||
Line 150: | Line 154: | ||
* Update Versions | * Update Versions | ||
- | - Go to the //Manage Projects page// for the // | + | - Go to the [[https://mantisbt.org/ |
- Update the version being released ('' | - Update the version being released ('' | ||
* Rename it to '' | * Rename it to '' | ||
Line 169: | Line 173: | ||
* Set a new filter: //Status// = resolved, //Fixed in Version// = '' | * Set a new filter: //Status// = resolved, //Fixed in Version// = '' | ||
* Review listed issues, update them as needed (in particular, check that // | * Review listed issues, update them as needed (in particular, check that // | ||
+ | * Private security issues should be made public | ||
* Tick the //Select all// checkbox | * Tick the //Select all// checkbox | ||
* Select //Close// and click OK | * Select //Close// and click OK | ||
Line 245: | Line 250: | ||
==== Source Forge ==== | ==== Source Forge ==== | ||
- | * Upload the release to [[http:// | + | * Upload the release to [[http:// |
- | * Release | + | Put the files in the appropriate directory, based on the release type: Stable releases go to the **mantis-stable**; |
- | | + | |
- | * Put the release in the appropriate package based on whether it is a stable | + | Create a sub-directory for the version, matching it's number |
- | * Release candidates, alphas and betas are " | + | </ |
+ | * manually via SourceForge' | ||
+ | * with rsync (// | ||
+ | $ rsync -vP --rsh=ssh / | ||
+ | </ | ||
* Download the release off SF.net and verify correctness. | * Download the release off SF.net and verify correctness. | ||
- | * Click the "i" | + | * Click the '' |
* for digests, exclude them from stats. | * for digests, exclude them from stats. | ||
* In case of a stable release, make the zip file the default for all platforms. | * In case of a stable release, make the zip file the default for all platforms. | ||
Line 258: | Line 267: | ||
* Blog: Post an announcement | * Blog: Post an announcement | ||
+ | * Gitter: Post an announcement | ||
+ | |||
+ | The notifications below require accounts that only vboctor has access to... | ||
+ | |||
* Twitter: announce the release via mantisbt twitter account. | * Twitter: announce the release via mantisbt twitter account. | ||
* Update mailing list based on official bug tracker users since users can now signup to our bugtracker to get such announcements. | * Update mailing list based on official bug tracker users since users can now signup to our bugtracker to get such announcements. | ||
Line 266: | Line 279: | ||
==== Bump the version number ==== | ==== Bump the version number ==== | ||
- | The MantisBT version constant must be increase | + | The MantisBT version constant must be increased |
This ensures that people running Mantis from the GIT repository are not led to believe they are working with an official release, and allows the [[https:// | This ensures that people running Mantis from the GIT repository are not led to believe they are working with an official release, and allows the [[https:// |
mantisbt/release_process.1563205165.txt.gz · Last modified: 2019/07/15 11:39 by dregad