How to make a ScummVM release.
This is work in progress and needs to be completed!
- Making the release plan
- Telling people about it, making sure everybody knows what is going on
- Update the lists of files below, adding new engine data files and such
Branching for 1.4.x
- Create a branch for the 1.4.x releases from master, named branch-1-4
git checkout -b branch-1-4 master
- Increase version on branch-1-4 to 1.7.0pre (using
devtools/update-version.pl; see below), and commit
devtools/update-version.pl 1 4 0 pre
git commit -m "RELEASE: This is 1.7.0pre" -a
- Create annotated tag desc/1.7.0pre on that commit and push
git tag -m "Mark 1.7.0pre" desc/1.7.0pre
git push origin tag desc/1.7.0pre branch-1-4:branch-1-4
- Increase version on master to 1.5.0git, and commit
git checkout master
devtools/update-version.pl 1 5 0 git
git commit -m "RELEASE: This is 1.5.0git" -a
- Create annotated tag desc/1.5.0git on that commit and push
git tag -m "Mark 1.5.0git" desc/1.5.0git
git push origin tag desc/1.5.0git master
- Identify release critical (show stopper) bugs and get people to fix them.
- Identify other important bugs and get people to fix them.
- Get even more people to fix all the other bugs, if possible :-).
- Get people to do lots of testing, possibly by asking for help via a news item.
- Collect all that information (e.g. in the Wiki). See Release Testing
Preparing the source
- You have to update the versions in all relevant files. There is a script,
devtools/update-version.plmeant to help you with this. It will generate/update the following files:
- Review the following documentation files for version and copyright year updates:
- Review the following port specific files for version updates:
- Review the release dates in the following port specific files:
- Make sure package descriptions are up-to-date:
- Create MSVC project files in the release branch (for example branch-1-4-0, where the tarballs are created from)
- make ideprojects
- git commit -m "DISTS: Generated Code::Blocks and MSVC project files"
- And last but not least don't forget to push the results to our github repo via "git push"
- Make source tarballs, post them in the SF.net FRS.
- There is a script
devtools/dist-scummvm.sh, which does this automatically.
- Make sure that porters have write access to the release folder on FRS:
chmod 775 <folder>
- There is a script
Branching for 1.7.0
- Create a branch for 1.7.0 from branch-1-4, named branch-1-4-0
git checkout -b branch-1-4-0 branch-1-4
- Increase version on branch-1-4-0 to 1.7.0 and commit, push
devtools/update-version.pl 1 4 0
- Manually edit backends/platform/maemo/debian/changelog to reflect correct release date for 1.7.0 entry
git commit -m "RELEASE: This is 1.7.0" -a
git push origin branch-1-4-0:branch-1-4-0
- Get porters to make binaries.
- Porter must follow our filename convention, which goes like this: "scummvm-VERSION-PORT.EXTENSION". For example: "scummvm-1.1.0-macosx.dmg". Do not use special names like "EScummVM" or "ScummVMDS". The only exclusion from this requirement is Debian.
- Porters should pass "--enable-release" to configure in case their port is using the configure/make based build system. If their port is not using the configure/make based build system they should make sure they properly define RELEASE_BUILD when compiling their release binary. It is also noteworthy that "--disable-debug" should be passed in order to remove debugging information from the binary.
- Here is a list of files porters should include in their release archives:
- README (generic ScummVM one)
- scummmodern.zip (from gui/themes directory) (if your port uses new GUI)
- scummclassic.zip (from gui/themes directory) (if your port uses new GUI)
- translations.dat (from gui/themes directory)
- pred.dic (from dists directory)
- kyra.dat (from dists/engine-data)
- queen.tbl (from dists/engine-data)
- sky.cpt (from dists/engine-data)
- lure.dat (from dists/engine-data)
- drascula.dat (from dists/engine-data)
- teenagent.dat (from dists/engine-data)
- hugo.dat (from dists/engine-data)
- tony.dat (from dists/engine-data)
- toon.dat (from dists/engine-data)
- wintermute.zip (from dists/engine-data)
- neverhood.dat (from dists/engine-data)
- your build binary
- your build-specific README (optional)
- Porters can upload binaries via SCP or SFTP:
scp FILENAME SFNET_USERNAME,email@example.com:/home/frs/project/s/sc/scummvm/scummvm/X.Y.Z/
- More details on the upload process and the file release system in general: https://sourceforge.net/apps/trac/sourceforge/wiki/Release%20files%20for%20download
- Update the website internally (i.e. update the version in the repository), but do not yet put these changes online.
include/config.inc.phpto update the global version.
- Create a new XML file for the new version in
- Add a news item.
- Update default platform packages on sf.net FRS
- Set the OS for the newly uploaded binaries (click on the (i) next to each binary).
- -win32.exe as Windows binary
- -macosx.dmg as Mac binary
- .tar.bz2 as Linux, FreeBSD and Other binary
- -solaris-x86.tar.gz as Solaris binary
- When 1.7.0 is ready to be announced, make a permanent v1.7.0 tag in git to mark the release
git checkout branch-1-4-0
git tag -m "Tag v1.7.0" v1.7.0
git push origin tag v1.7.0
- Also increase the version number on the 1.4.x branch to 1.4.1pre
git checkout branch-1-4
devtools/update-version.pl 1 4 1 pre
git commit -m "RELEASE: This is 1.4.1pre" -a
- Create annotated tag desc/1.4.1pre on that commit and push
git tag -m "Mark 1.4.1pre" desc/1.4.1pre
git push origin tag desc/1.4.1pre branch-1-4:branch-1-4
News & Notification
Write a news blurb (or rather multiple to be used in the following). Usually, you want a bit longer one for the website, a list for Versiontracker, something with proper english sentences for Freshmeat, etc....
- Write a news item for our website (also to be used as template for news items on other sites).
- Update / notify various sites:
- Create a SF.net news item
- Post about the release on our forums
- ... more ?
- Put the updated web site online
Updating the wiki
- Update Template:StableVersion. This is used for links to the Compatibility page for the stable version and for the latest stable version info field for each platform.
- Move newly supported engines in the Complete engines in the latest stable version section on the Engines page.
- Add the first release field on the info box of the newly supported engines.
- Update Platforms page if status changed for some of the platforms (e.g. no release for the latest stable version). For these platforms the latest stable version info will also need to be changed if it was using the StableVersion template.
- Update the support field on the info box of the newly supported games. Also change these games from Unsupported Games category to Supported Games category.