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 [2025/12/15 07:35] – [Repository Preparation] sed command to update version in constant_inc.php dregad | mantisbt:release_process [2026/05/09 07:01] (current) – [Source Forge] use $RELEASE_FILES instead of hardcoded path dregad | ||
|---|---|---|---|
| Line 82: | Line 82: | ||
| * Remove references to any debug statements | * Remove references to any debug statements | ||
| - | * Update //CREDITS// file. | + | * Update |
| * Run the script to update the Contributors' | * Run the script to update the Contributors' | ||
| $ update-credits.sh | $ update-credits.sh | ||
| Line 92: | Line 92: | ||
| * Run the script again after fixing the // | * Run the script again after fixing the // | ||
| * If needed, make any additional changes to the CREDITS file manually | * If needed, make any additional changes to the CREDITS file manually | ||
| - | * Update the version number in // | + | * Update the **version number** |
| - | sed -r -i "/ | + | * in // |
| + | sed -r -i "/ | ||
| + | </ | ||
| + | * in REST API OpenAPI documentation < | ||
| + | sed -r -i "/ | ||
| + | </ | ||
| + | * Commit the changes | ||
| + | git commit -a -m "Bump version to $VERSION" | ||
| </ | </ | ||
| - | * Commit the changes. | ||
| - | |||
| Line 105: | Line 110: | ||
| $ git checkout master-M.N | $ git checkout master-M.N | ||
| $ 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 123: | 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 146: | 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 271: | 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 280: | 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.1765802116.txt.gz · Last modified: by dregad
