This document describes the steps involved in producing a FearDC release:
- Requirements
- Creating translation templates
- Updating translations
- Version update
- Changelog update
- Tag the repository
- Distro build (in 2 steps)
- Check and rename the files
- Upload the files
- Update the web site
- Update launchpad bugs
- Testing -> Stable status
Refer to the Compile.txt file for requirements.
Refer to the "1) Creating translation templates" section of the Translations.txt file.
This step should occur about 1 week before the actual release.
Refer to the "2) Updating translations" section of the Translations.txt file.
Update version numbers in:
dcpp/version.hwin32/DCPlusPlus.rc
Set the first line of the changelog_feardc.txt file to refer to the new version. Example:
-- 0.851 2015-04-06 --
Tag the repository according to the version number. Example:
hg tag 0.860
Ensure your repo is clean (no .sconsign.dblite file; no build directory) and
also that all the files required but cannot be added to the repo are all present
(e.g. HTMLHelp includes and libs) then:
Build the x64 version:
scons arch=x64 mode=release
Build the rest (the x64 version built above will be included in generated packages):
scons distro=1
The build/distro directory should contain 4 files; check their contents:
DCPlusPlus-xxx.exe: 32-bit and 64-bit installer. Ensure it runs fine.DCPlusPlus-xxx.zip: 32-bit binary arche. Should contain 8 regular files and alocaledirectory with 5 files per language.DCPlusPlus-xxx-x64.zip: 64-bit binary arche. Should contain 8 regular files and alocaledirectory with 5 files per language.DCPlusPlus-xxx-src.zip: Source code. Should be a direct extract of the FearDC repository.
Don't forget to replace the "xxx" parts of the file names with the actual version number.
- Upload these 4 files to the sourceforge project, with the method of your choice (I prefer via FTP).
- Make a pass on their details once they are uploaded to indicate what they are, targeted platforms, etc.
- Mention the new version in the
download.htmlpage of the web site. The new version should be marked as "testing". - The build step should also have generated
build/webhelp, which can be uploaded as is to the corresponding directory of the FearDC website.
Update launchpad bugs from "Fix Committed" to "Fix Released", either by hand or by using the
scripts/commited_released.py script.
Add / uncomment the <Testingxx> parts of the version.xml file stored by the web site to
start offering the testing release for a small subset of the userbase.
After some time (usually a week or two), the testing version can be considered stable.
- Update the web site -
download.htmlandindex.htmlpages. - Update the
version.xmlfile stored by the web site with the new stable version number. Also remove / uncomment the <Testingxx> parts of the file until / unless there's a new version marked asTesting. - Mark the new stable installer as the preferred download on Windows.
vim: set filetype=rst: