xref: /netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/releasing.md (revision 4d6fc14bc9b0c5bf3e30be318c143ee82cadd108)
1*4d6fc14bSjoerg# How to release
2*4d6fc14bSjoerg
3*4d6fc14bSjoerg* Make sure you're on master and synced to HEAD
4*4d6fc14bSjoerg* Ensure the project builds and tests run (sanity check only, obviously)
5*4d6fc14bSjoerg    * `parallel -j0 exec ::: test/*_test` can help ensure everything at least
6*4d6fc14bSjoerg      passes
7*4d6fc14bSjoerg* Prepare release notes
8*4d6fc14bSjoerg    * `git log $(git describe --abbrev=0 --tags)..HEAD` gives you the list of
9*4d6fc14bSjoerg      commits between the last annotated tag and HEAD
10*4d6fc14bSjoerg    * Pick the most interesting.
11*4d6fc14bSjoerg* Create a release through github's interface
12*4d6fc14bSjoerg    * Note this will create a lightweight tag.
13*4d6fc14bSjoerg    * Update this to an annotated tag:
14*4d6fc14bSjoerg      * `git pull --tags`
15*4d6fc14bSjoerg      * `git tag -a -f <tag> <tag>`
16*4d6fc14bSjoerg      * `git push --force origin`
17