mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Update release process docs to include PGP-signing
This commit is contained in:
parent
9ccea82d7f
commit
5d4061af12
@ -48,3 +48,25 @@ dependent on a specific version of the single-include header.
|
|||||||
|
|
||||||
Since 2.5.0, the release tag and the "binaries" (headers) should be PGP
|
Since 2.5.0, the release tag and the "binaries" (headers) should be PGP
|
||||||
signed.
|
signed.
|
||||||
|
|
||||||
|
#### Signing a tag
|
||||||
|
|
||||||
|
To create a signed tag, use `git tag -s <VERSION>`, where `<VERSION>`
|
||||||
|
is the version being released, e.g. `git tag -s v2.6.0`.
|
||||||
|
|
||||||
|
Use the version name as the short message and the release notes as
|
||||||
|
the body (long) message.
|
||||||
|
|
||||||
|
#### Signing the headers
|
||||||
|
|
||||||
|
This will create ASCII-armored signatures for the headers that are
|
||||||
|
uploaded to the GitHub release:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ gpg2 --armor --output catch.hpp.asc --detach-sig catch.hpp
|
||||||
|
$ gpg2 --armor --output catch_reporter_automake.hpp.asc --detach-sig catch_reporter_automake.hpp
|
||||||
|
$ gpg2 --armor --output catch_reporter_teamcity.hpp.asc --detach-sig catch_reporter_teamcity.hpp
|
||||||
|
$ gpg2 --armor --output catch_reporter_tap.hpp.asc --detach-sig catch_reporter_tap.hpp
|
||||||
|
```
|
||||||
|
|
||||||
|
_GPG does not support signing multiple files in single invocation._
|
||||||
|
Loading…
Reference in New Issue
Block a user