Skip to content

Commit 448ae1c

Browse files
committed
Convert RELEASING to Markdown and add instruction for GitHub release
1 parent a524bf3 commit 448ae1c

File tree

1 file changed

+22
-14
lines changed

1 file changed

+22
-14
lines changed
Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,41 @@
11
Notes to myself on all the steps to make for a Ninja release.
22

3-
Push new release branch:
3+
### Push new release branch:
44
1. Run afl-fuzz for a day or so and run ninja_test
55
2. Consider sending a heads-up to the ninja-build mailing list first
66
3. Make sure branches 'master' and 'release' are synced up locally
77
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+
```
911
5. git checkout release; git merge master
1012
6. Fix version number in src/version.cc (it will likely conflict in the above)
1113
7. Fix version in doc/manual.asciidoc (exists only on release branch)
1214
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+
```
1721
9. Construct release notes from prior notes
18-
credits: git shortlog -s --no-merges REV..
1922

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..`
2324

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:
2533
1. copy old mail
2634

27-
Update website:
35+
### Update website:
2836
1. Make sure your ninja checkout is on the v1.5.0 tag
2937
2. Clone https://github.com/ninja-build/ninja-build.github.io
3038
3. In that repo, `./update-docs.sh`
3139
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

Comments
 (0)