# 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 globals.ml has the correct value.
- Update README.md:
  - Version compatibility: add/update the Haxe/Neko version
- 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 downloads/$version/CHANGES.md.
- Write announcement post.
- Copy announcement post to downloads/$version/RELEASE.md.
- Update downloads/versions.json
- Push the generated binaries and installers to haxe.org, requires git-lfs

# Announcing the release

- Regenerate and upload API documentation (check --title and -D version values).
- Post announcement post to haxelang.
