Difference between revisions of "Releasing Products"
m |
m (Add product.version to files needing bumpage) |
||
| (49 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | == Releasing SourceMod == | |
| − | + | '''''Bold italic''''' values should be replaced as appropriate for the release. | |
| − | + | * General | |
| − | + | ** Create a git branch | |
| − | + | ** Bump product.version and plugins/include/version.inc numbers for manual builds | |
| − | + | * Buildbot | |
| − | + | ** Update master.cfg in buildbot buildmaster. Don't forget to push the change to github | |
| − | + | ** Force builds on the new dev and stable branches via pushbuild.txt | |
| − | + | * Downloads | |
| − | + | ** Run <code>mount -orw /mnt/downloads</code> on web01 | |
| − | + | ** Run <code>mkdir /mnt/downloads/smdrop/'''''1.11'''''</code>, chmod 775 it, fix ownership | |
| − | + | ** Run <code>mount -oro /mnt/downloads</code> | |
| − | + | ** Fix sm_commit_log by updating last ~N master builds to be the new stable branch | |
| − | + | ** Update <code>~sourcemod/public_html/downloads.php</code> | |
| − | + | ** Add an entry to <code>~sourcemod/web-commit-updater/updater.php</code> for the new version | |
| − | + | * Gamedata updater (run commands from inside <code>~sourcemod/update</code>) | |
| − | < | + | ** Clone the new branch into <code>'''''1.11-dev'''''</code> |
| − | + | ** Create a <code>'''''update-1.11.sh'''''</code> script for the new version | |
| − | + | ** Run <code>php add_version.php --version '''''1.11.0''''' --path '''''1.11-dev'''''</code> | |
| − | + | ** Run <code>php update/add_version.php --version '''''1.12.0''''' --path master</code> | |
| − | + | ** Run <code>./'''''update-1.11.sh'''''</code> | |
| − | + | ** Run <code>./update-master.sh</code> | |
| − | + | * Web compiler and forum | |
| − | + | ** Create a <code>~sourcemod/'''''compiler-1.11'''''</code> directory, drop spcomp + includes there | |
| − | + | ** Change the <code>~sourcemod/compiler</code> symlink to the new version | |
| − | + | ** Update hardcoded version in <code>~sourcemod/public_html/compiler.php</code> and change the "you can use this to compile plugins for SourceMod '''''1.11''''' or higher" text if necessary | |
| − | + | ** Update <code>~sourcemod/public_html/vbcompiler.php</code> | |
| − | + | ** Update forum's newthread.php and editpost.php (search for ccversion). Do this on staging, create a production PR in bitbucket, then pull | |
| − | + | * SP docs | |
| − | + | ** Pull and rebuild <code>~sourcemod/scripts/sourcepawn/exp/tools/docparse</code> if needed | |
| − | + | ** <code>git checkout</code> new branch into <code>~sourcemod/scripts/sourcemod</code> | |
| − | + | ** From <code>~sourcemod/scripts/sourcepawn/exp/docgen/generate/</code>, run <code>python generate.py</code> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | < | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </ | ||
| − | |||
| − | < | ||
| − | ./ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | < | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | /scripts/ | ||
| − | |||
| − | </ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | < | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | /scripts/ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 10:58, 20 October 2024
Releasing SourceMod
Bold italic values should be replaced as appropriate for the release.
- General
- Create a git branch
- Bump product.version and plugins/include/version.inc numbers for manual builds
- Buildbot
- Update master.cfg in buildbot buildmaster. Don't forget to push the change to github
- Force builds on the new dev and stable branches via pushbuild.txt
- Downloads
- Run
mount -orw /mnt/downloadson web01 - Run
mkdir /mnt/downloads/smdrop/1.11, chmod 775 it, fix ownership - Run
mount -oro /mnt/downloads - Fix sm_commit_log by updating last ~N master builds to be the new stable branch
- Update
~sourcemod/public_html/downloads.php - Add an entry to
~sourcemod/web-commit-updater/updater.phpfor the new version
- Run
- Gamedata updater (run commands from inside
~sourcemod/update)- Clone the new branch into
1.11-dev - Create a
update-1.11.shscript for the new version - Run
php add_version.php --version 1.11.0 --path 1.11-dev - Run
php update/add_version.php --version 1.12.0 --path master - Run
./update-1.11.sh - Run
./update-master.sh
- Clone the new branch into
- Web compiler and forum
- Create a
~sourcemod/compiler-1.11directory, drop spcomp + includes there - Change the
~sourcemod/compilersymlink to the new version - Update hardcoded version in
~sourcemod/public_html/compiler.phpand change the "you can use this to compile plugins for SourceMod 1.11 or higher" text if necessary - Update
~sourcemod/public_html/vbcompiler.php - Update forum's newthread.php and editpost.php (search for ccversion). Do this on staging, create a production PR in bitbucket, then pull
- Create a
- SP docs
- Pull and rebuild
~sourcemod/scripts/sourcepawn/exp/tools/docparseif needed git checkoutnew branch into~sourcemod/scripts/sourcemod- From
~sourcemod/scripts/sourcepawn/exp/docgen/generate/, runpython generate.py
- Pull and rebuild