Releasing Products
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
- GitHub Actions CI
- CI triggers automatically on pushes to
masterand branches matching[0-9]+.[0-9]+-dev. No manual build forcing is needed. - On web01, update
version_branchesin the webhook app'sconfig.yaml(add"1.13": "1.13-dev"for the new stable branch; update themasterentry to the new dev version). Then redeploy:systemctl restart sourcemod-github-artifact-webhook
- CI triggers automatically on pushes to
- 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 new stable/dev version objects and update thestable/devaliases in$branchMap - Update
~sourcemod/public_html/latest.php— add new version to$versionMapand update thestable/devaliases (must stay in sync with downloads.php)
- 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