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