1 Notes to myself on all the steps to make for a Ninja release.
3 Push new release branch:
4 1. Run afl-fuzz for a day or so (see HACKING.md) and run ninja_test
5 2. Consider sending a heads-up to the ninja-build mailing list first
6 3. Make sure branches 'master' and 'release' are synced up locally
7 4. Update src/version.cc with new version (with ".git"), then
8 git commit -am 'mark this 1.5.0.git'
9 5. git checkout release; git merge master
10 6. Fix version number in src/version.cc (it will likely conflict in the above)
11 7. Fix version in doc/manual.asciidoc (exists only on release branch)
12 8. commit, tag, push (don't forget to push --tags)
13 git commit -am v1.5.0; git push origin release
14 git tag v1.5.0; git push --tags
15 # Push the 1.5.0.git change on master too:
16 git checkout master; git push origin master
17 9. Construct release notes from prior notes
18 credits: git shortlog -s --no-merges REV..
21 1. https://github.com/blog/1547-release-your-software
22 Add binaries to https://github.com/ninja-build/ninja/releases
24 Make announcement on mailing list:
28 1. Make sure your ninja checkout is on the v1.5.0 tag
29 2. Clone https://github.com/ninja-build/ninja-build.github.io
30 3. In that repo, `./update-docs.sh`
31 4. Update index.html with newest version and link to release notes
32 5. git commit -m 'run update-docs.sh, 1.5.0 release'
33 6. git push origin master