Version 1, last updated by lord2800 at Jan 07 06:27 2010 UTC

Steps to Release

  1. 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.
  2. 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.
  3. If necessary, tag loader with the new version number in the format: loader-major.minor.point. Once again, point is optional.
  4. If necessary, build the loader. I batch clean and rebuild all just to make sure the code is guaranteed the latest.
  5. 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.
  6. 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.
  7. 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.
  8. 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).
  9. The zip generated in step 7 gets uploaded to Assembla, with the description appropriately chosen and with the tags "release" and the version number.
  10. The main Assembla space page gets updated with the new version number and link.
  11. 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.
  12. Update the IRC topic and bot with the new links.
  13. Kick back and enjoy the new release.