Version 1, last updated by lord2800 at Jan 07 06:27 2010 UTC
Release tasks
Steps to Release
- Update HISTORY.txt in the resources directory in the D2BS folder with the new changes. The Assembla stream is a godsend here, as you can filter for all changes between the previous and current release dates.
- Tag trunk with the new version number in the format: d2bs-major.minor.point (this step can occur before the actual release, but must occur before the release is made). Point is optional, but we've been using it for bugfix versions.
- If necessary, tag loader with the new version number in the format: loader-major.minor.point. Once again, point is optional.
- If necessary, build the loader. I batch clean and rebuild all just to make sure the code is guaranteed the latest.
- Add any resources that aren't committed (cGuard files, D2BS loader, new testcases, api document, etc.) to the resources directory in the D2BS folder. Don't commit these additional files--they may change between releases and we want to keep them out of the core code.
- Build the release. Again, I batch clean and rebuild all. This takes quite a while, but it's worth it to guarantee that the code is the latest.
- Test the new version as necessary. Make sure there are no breaking changes that need to be made, and if there are, make them and go back to step 4.
- Once the release is finalized, and you've built the entire thing, the "Packaging" configuration generates a folder named "release-pkg" in its' output folder. I rename this to "d2bs". That gets zipped up with the name "d2bs-{version}.zip", where version is what I tagged in step 1 (I've been using zip instead of rar or 7z due to the fact that Windows XP and above come with a zip tool built into the shell. This simplifies both our support headaches and the end user's experience, as there's no additional tools to download).
- The zip generated in step 7 gets uploaded to Assembla, with the description appropriately chosen and with the tags "release" and the version number.
- The main Assembla space page gets updated with the new version number and link.
- A new announcement thread is made in the Core and Script Releases forum on Edge of Nowhere. The thread should have the title "D2BS v{version} - Release Thread". The content should be created from this template--fill in info as appropriate.
- Update the IRC topic and bot with the new links.
- Kick back and enjoy the new release.