add comment
[platform/upstream/ninja.git] / RELEASING
1 Notes to myself on all the steps to make for a Ninja release.
2
3 Push new release branch:
4 1. Consider sending a heads-up to the ninja-build mailing list first
5 2. update src/version.cc with new version (with ".git"), then
6        git commit -a -m 'mark this 1.5.0.git'
7 3. git checkout release; git merge master
8 4. fix version number in src/version.cc (it will likely conflict in the above)
9 5. fix version in doc/manual.asciidoc
10 6. commit, tag, push (don't forget to push --tags)
11        git commit -a -m v1.5.0; git push origin release
12        git tag v1.5.0; git push --tags
13        # Push the 1.5.0.git change on master too:
14        git checkout master; git push origin master
15 7. construct release notes from prior notes
16    credits: git shortlog -s --no-merges REV..
17
18 Release on github:
19 1. https://github.com/blog/1547-release-your-software
20    Add binaries to https://github.com/martine/ninja/releases
21
22 Make announcement on mailing list:
23 1. copy old mail
24
25 Update website:
26 1. Make sure your ninja checkout is on the v1.5.0 tag
27 2. Clone https://github.com/martine/martine.github.io
28 3. In that repo, `cd ninja && ./update-docs.sh`
29 4. Update index.html with newest version and link to release notes
30 5. git commit -m 'run update-docs.sh, 1.5.0 release'
31 6. git push origin master