# Preparing related projects

- Check that haxelib is working
- Make sure to update the haxelib submodule
- Check that the run-time haxelibs are ready for release: hxcpp, hxjava, hxcs

# Building the binaries and installers

- Make sure CHANGES.txt has a proper date set!
- Make sure `version` in main.ml has the correct value.
- Merge development branch into master.
- Wait for Travis to greenlight master.
- Tag master as MAJOR.MINOR.PATCH.
- Wait for builds.haxe.org to build master.
- Get https://github.com/waneck/hxbuilds/tree/master/release-helper
- Run it with the fileName corresponding to the latest master file name on builds.haxe.org.

# Making the release

- Copy relevant changelog part to CHANGES.md.
- Write announcement post.
- Copy announcement post to RELEASE.md.
- Update versions.json
- Push the generated binaries and installers to haxe.org.

# Announcing the release

- Update Github README page:
  - Installing Haxe: update "Latest stable version"
  - Version compatibility: add/update the Haxe/Neko version
- Regenerate and upload API documentation (check --title and -D version values).
- Update http://haxe.org/file/CHANGES.txt
- Post announcement post to haxelang.