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 [2024/08/25 05:01] – [Notifications] add Mastodon dregad | mantisbt:release_process [2026/05/09 07:01] (current) – [Source Forge] use $RELEASE_FILES instead of hardcoded path dregad | ||
|---|---|---|---|
| Line 45: | Line 45: | ||
| ==== Localization ==== | ==== Localization ==== | ||
| + | |||
| + | <WRAP tip right 50%> | ||
| + | Translation updates are regularly committed to the //master// branch by an automated process. | ||
| + | Contact the [[https:// | ||
| + | </ | ||
| * Post on the [[mantisbt-lang@lists.sourceforge.net|Localization mailing list]] to request translation updates from contributors | * Post on the [[mantisbt-lang@lists.sourceforge.net|Localization mailing list]] to request translation updates from contributors | ||
| - | * Run / | + | * Run /// |
| Line 66: | Line 71: | ||
| ===== Preparing the Release ===== | ===== Preparing the Release ===== | ||
| - | ==== Localization | + | ==== Define VERSION environment variable |
| - | * Contact the [[http:// | + | This will be used by several commands later in this section. |
| + | |||
| + | < | ||
| + | $ VERSION=M.N.P | ||
| + | </ | ||
| ==== Repository Preparation ==== | ==== Repository Preparation ==== | ||
| * Remove references to any debug statements | * Remove references to any debug statements | ||
| - | * Update CREDITS file. | + | * Update |
| - | | + | * Run the script to update the Contributors' list < |
| - | * Run the script to update the Contributor's list < | + | |
| $ update-credits.sh | $ update-credits.sh | ||
| - | </ | + | </code>< |
| - | * If needed, make any additional changes manually | + | The script will detect if the //.mailmap// file needs to be updated, to ensure that commits made by the same person under different names and/or e-mail addresses are properly aggregated. |
| - | * Update | + | |
| - | * Commit | + | |
| + | It will print a list of duplicates and halt to let you manually update the file; refer to [[mantisbt: | ||
| + | </ | ||
| + | * Run the script again after fixing the // | ||
| + | * If needed, make any additional changes to the CREDITS file manually | ||
| + | * Update the **version number** | ||
| + | * in // | ||
| + | sed -r -i "/ | ||
| + | </ | ||
| + | * in REST API OpenAPI documentation < | ||
| + | sed -r -i "/ | ||
| + | </ | ||
| + | * Commit the changes | ||
| + | git commit -a -m "Bump version to $VERSION" | ||
| + | </ | ||
| Line 89: | Line 109: | ||
| * For **stable releases** < | * For **stable releases** < | ||
| $ git checkout master-M.N | $ git checkout master-M.N | ||
| - | $ VERSION=M.N.P | ||
| $ git tag -s release-$VERSION -m " | $ git tag -s release-$VERSION -m " | ||
| - | </ | + | </ |
| + | If this fails, see below for [[# | ||
| + | </ | ||
| * For **development releases** (e.g. alpha, beta, release candidates) < | * For **development releases** (e.g. alpha, beta, release candidates) < | ||
| $ git checkout master | $ git checkout master | ||
| Line 109: | Line 130: | ||
| - | **Troubleshooting failure to sign tags** | + | ==== Troubleshooting failure to sign tags ==== |
| Signing the tag fails if GIT cannot map the user with the gpg key, as in the example below < | Signing the tag fails if GIT cannot map the user with the gpg key, as in the example below < | ||
| Line 132: | Line 153: | ||
| ===== Packaging the Release ===== | ===== Packaging the Release ===== | ||
| + | |||
| + | Create a temporary directory to store the release files | ||
| + | |||
| + | < | ||
| + | RELEASE_FILES=/ | ||
| + | mkdir $RELEASE_FILES | ||
| + | </ | ||
| Generate release tarballs using the '' | Generate release tarballs using the '' | ||
| < | < | ||
| - | $ /build/ | + | build/ |
| </ | </ | ||
| - | This will create the following files in the '' | + | This will create the following files in the '' |
| * a //.zip// and //.tar.gz// tarball of the release | * a //.zip// and //.tar.gz// tarball of the release | ||
| Line 257: | Line 285: | ||
| * manually via SourceForge' | * manually via SourceForge' | ||
| * with rsync (// | * with rsync (// | ||
| - | $ rsync -vP --rsh=ssh | + | $ rsync -vP --rsh=ssh |
| </ | </ | ||
| * Download the release off SF.net and verify correctness. | * Download the release off SF.net and verify correctness. | ||
| Line 266: | Line 294: | ||
| ==== Notifications ==== | ==== Notifications ==== | ||
| - | * Blog: Post an announcement | + | * [[https:// |
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| The notifications below require accounts that only vboctor has access to... | The notifications below require accounts that only vboctor has access to... | ||
mantisbt/release_process.1724576485.txt.gz · Last modified: by dregad
