1695b41eeSopenharmony_ciNotes to myself on all the steps to make for a Ninja release.
2695b41eeSopenharmony_ci
3695b41eeSopenharmony_ciPush new release branch:
4695b41eeSopenharmony_ci1. Run afl-fuzz for a day or so and run ninja_test
5695b41eeSopenharmony_ci2. Consider sending a heads-up to the ninja-build mailing list first
6695b41eeSopenharmony_ci3. Make sure branches 'master' and 'release' are synced up locally
7695b41eeSopenharmony_ci4. Update src/version.cc with new version (with ".git"), then
8695b41eeSopenharmony_ci       git commit -am 'mark this 1.5.0.git'
9695b41eeSopenharmony_ci5. git checkout release; git merge master
10695b41eeSopenharmony_ci6. Fix version number in src/version.cc (it will likely conflict in the above)
11695b41eeSopenharmony_ci7. Fix version in doc/manual.asciidoc (exists only on release branch)
12695b41eeSopenharmony_ci8. commit, tag, push (don't forget to push --tags)
13695b41eeSopenharmony_ci       git commit -am v1.5.0; git push origin release
14695b41eeSopenharmony_ci       git tag v1.5.0; git push --tags
15695b41eeSopenharmony_ci       # Push the 1.5.0.git change on master too:
16695b41eeSopenharmony_ci       git checkout master; git push origin master
17695b41eeSopenharmony_ci9. Construct release notes from prior notes
18695b41eeSopenharmony_ci   credits: git shortlog -s --no-merges REV..
19695b41eeSopenharmony_ci
20695b41eeSopenharmony_ciRelease on github:
21695b41eeSopenharmony_ci1. https://github.com/blog/1547-release-your-software
22695b41eeSopenharmony_ci   Add binaries to https://github.com/ninja-build/ninja/releases
23695b41eeSopenharmony_ci
24695b41eeSopenharmony_ciMake announcement on mailing list:
25695b41eeSopenharmony_ci1. copy old mail
26695b41eeSopenharmony_ci
27695b41eeSopenharmony_ciUpdate website:
28695b41eeSopenharmony_ci1. Make sure your ninja checkout is on the v1.5.0 tag
29695b41eeSopenharmony_ci2. Clone https://github.com/ninja-build/ninja-build.github.io
30695b41eeSopenharmony_ci3. In that repo, `./update-docs.sh`
31695b41eeSopenharmony_ci4. Update index.html with newest version and link to release notes
32695b41eeSopenharmony_ci5. git commit -m 'run update-docs.sh, 1.5.0 release'
33695b41eeSopenharmony_ci6. git push origin master
34