Difference between revisions of "Releasing Products"

From AlliedModders Wiki
Jump to: navigation, search
(reorganize procedure)
Line 2: Line 2:
  
 
'''''Bold italic''''' values should be replaced as appropriate for the release.
 
'''''Bold italic''''' values should be replaced as appropriate for the release.
 
+
* General
* Create a git branch
+
** Create a git branch
* Update master.cfg in buildbot buildmaster. Don't forget to push the change to github
+
** Bump sourcemod/plugins/include/version.inc numbers for manual builds
* mount -orw /mnt/downloads on web01
+
* Buildbot
* mkdir /mnt/downloads/smdrop/'''''1.11''''', chmod 775 it, fix ownership
+
** Update master.cfg in buildbot buildmaster. Don't forget to push the change to github
* mount -oro /mnt/downloads
+
** Force builds on the new dev and stable branches via pushbuild.txt
* Fix sm_commit_log by updating last ~N master builds to be the new stable branch
+
* Downloads
* Update ~sourcemod/public_html/downloads.php
+
** mount -orw /mnt/downloads on web01
* Update ~sourcemod/public_html/vbcompiler.php
+
** mkdir /mnt/downloads/smdrop/'''''1.11''''', chmod 775 it, fix ownership
* Update forums newpost.php and editpost.php (search for ccversion). Do this on staging, create a production PR in bitbucket, then pull
+
** mount -oro /mnt/downloads
* Create a ~sourcemod/'''''compiler-1.11''''' folder, drop spcomp + includes there
+
** Fix sm_commit_log by updating last ~N master builds to be the new stable branch
* Add an entry to web-commit-updater/updater.php for the new version
+
** Update ~sourcemod/public_html/downloads.php
* Force builds on the new dev and stable branches via pushbuild.txt
+
** Add an entry to web-commit-updater/updater.php for the new version
* Add a ~sourcemod/update/'''''update-1.11.sh''''' script for the new version
+
* Gamedata updater
* Clone the new branch into ~sourcemod/update/'''''1.11-dev'''''
+
** Clone the new branch into ~sourcemod/update/'''''1.11-dev'''''
* Run ~sourcemod/update/add_version.php --version '''''1.11''''' --path '''''1.11-dev'''''
+
** Add a ~sourcemod/update/'''''update-1.11.sh''''' script for the new version
* Change the ~sourcemod/compiler symlink to the new version
+
** Run ~sourcemod/update/add_version.php --version '''''1.11''''' --path '''''1.11-dev'''''
* Update hardcoded verison in ~sourcemod/public_html/compiler.php.
+
* Web compiler and forum
* git checkout new branch in ~sourcemod/scripts/sourcemod, then run generate.py in ~sourcemod/scripts/sourcepawn/exp/docgen/generate
+
** Create a ~sourcemod/'''''compiler-1.11''''' folder, drop spcomp + includes there
 +
** Change the ~sourcemod/compiler symlink to the new version
 +
** Update hardcoded version in ~sourcemod/public_html/compiler.php.
 +
** Update ~sourcemod/public_html/vbcompiler.php
 +
** Update forums newpost.php and editpost.php (search for ccversion). Do this on staging, create a production PR in bitbucket, then pull
 +
* SP docs
 +
** Rebuild ~sourcemod/scripts/sourcepawn/exp/tools/docparse if needed
 +
** git checkout new branch in ~sourcemod/scripts/sourcemod, then run generate.py in ~sourcemod/scripts/sourcepawn/exp/docgen/generate

Revision as of 23:52, 2 July 2022

Releasing SourceMod

Bold italic values should be replaced as appropriate for the release.

  • General
    • Create a git branch
    • Bump sourcemod/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
    • mount -orw /mnt/downloads on web01
    • mkdir /mnt/downloads/smdrop/1.11, chmod 775 it, fix ownership
    • 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 web-commit-updater/updater.php for the new version
  • Gamedata updater
    • Clone the new branch into ~sourcemod/update/1.11-dev
    • Add a ~sourcemod/update/update-1.11.sh script for the new version
    • Run ~sourcemod/update/add_version.php --version 1.11 --path 1.11-dev
  • Web compiler and forum
    • Create a ~sourcemod/compiler-1.11 folder, drop spcomp + includes there
    • Change the ~sourcemod/compiler symlink to the new version
    • Update hardcoded version in ~sourcemod/public_html/compiler.php.
    • Update ~sourcemod/public_html/vbcompiler.php
    • Update forums newpost.php and editpost.php (search for ccversion). Do this on staging, create a production PR in bitbucket, then pull
  • SP docs
    • Rebuild ~sourcemod/scripts/sourcepawn/exp/tools/docparse if needed
    • git checkout new branch in ~sourcemod/scripts/sourcemod, then run generate.py in ~sourcemod/scripts/sourcepawn/exp/docgen/generate