|
1 | 1 | Notes to myself on all the steps to make for a Ninja release.
|
2 | 2 |
|
3 |
| -Push new release branch: |
| 3 | +### Push new release branch: |
4 | 4 | 1. Run afl-fuzz for a day or so and run ninja_test
|
5 | 5 | 2. Consider sending a heads-up to the ninja-build mailing list first
|
6 | 6 | 3. Make sure branches 'master' and 'release' are synced up locally
|
7 | 7 | 4. Update src/version.cc with new version (with ".git"), then
|
8 |
| - git commit -am 'mark this 1.5.0.git' |
| 8 | + ``` |
| 9 | + git commit -am 'mark this 1.5.0.git' |
| 10 | + ``` |
9 | 11 | 5. git checkout release; git merge master
|
10 | 12 | 6. Fix version number in src/version.cc (it will likely conflict in the above)
|
11 | 13 | 7. Fix version in doc/manual.asciidoc (exists only on release branch)
|
12 | 14 | 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 |
| 15 | + ``` |
| 16 | + git commit -am v1.5.0; git push origin release |
| 17 | + git tag v1.5.0; git push --tags |
| 18 | + # Push the 1.5.0.git change on master too: |
| 19 | + git checkout master; git push origin master |
| 20 | + ``` |
17 | 21 | 9. Construct release notes from prior notes
|
18 |
| - credits: git shortlog -s --no-merges REV.. |
19 | 22 |
|
20 |
| -Release on github: |
21 |
| -1. https://github.com/blog/1547-release-your-software |
22 |
| - Add binaries to https://github.com/ninja-build/ninja/releases |
| 23 | + credits: `git shortlog -s --no-merges REV..` |
23 | 24 |
|
24 |
| -Make announcement on mailing list: |
| 25 | + |
| 26 | +### Release on GitHub: |
| 27 | +1. Go to [Tags](https://github.com/ninja-build/ninja/tags) |
| 28 | +2. Open the newly created tag and select "Create release from tag" |
| 29 | +3. Create the release which will trigger a build which automatically attaches |
| 30 | + the binaries |
| 31 | + |
| 32 | +### Make announcement on mailing list: |
25 | 33 | 1. copy old mail
|
26 | 34 |
|
27 |
| -Update website: |
| 35 | +### Update website: |
28 | 36 | 1. Make sure your ninja checkout is on the v1.5.0 tag
|
29 | 37 | 2. Clone https://github.com/ninja-build/ninja-build.github.io
|
30 | 38 | 3. In that repo, `./update-docs.sh`
|
31 | 39 | 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 |
| 40 | +5. `git commit -m 'run update-docs.sh, 1.5.0 release'` |
| 41 | +6. `git push origin master` |
0 commit comments