Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit 10015a0

Browse files
authored
Merge pull request #1720 from jonboulle/master
docs/release: do a detached sig
2 parents b8127af + 8064328 commit 10015a0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Documentation/release.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ All releases version numbers follow the format of [semantic versioning 2.0.0](ht
3636
- Manually check fleet is buildable in Linux, Darwin.
3737
- Manually check upgrade fleet cluster of previous minor version works well.
3838
- Manually check new features work well.
39-
- Add a signed tag through `GIT_COMMITTER_NAME="CoreOS Application Signing Key" GIT_COMMITTER_EMAIL="[email protected]" git tag -s ${VERSION} -u $SUBKEYID`.
39+
- Add a signed tag through `GIT_COMMITTER_NAME="CoreOS Application Signing Key" GIT_COMMITTER_EMAIL="[email protected]" git tag -s ${VERSION} -u $SUBKEYID`. (note that you may need `git config gpg.program=gpg2`)
4040
- Sanity check tag correctness through `git show tags/$VERSION`.
4141
- Push the tag to GitHub through `git push origin tags/$VERSION`. This assumes `origin` corresponds to "https://github.com/coreos/fleet".
4242

@@ -55,14 +55,12 @@ It generates all release binaries and images under directory `./release`.
5555

5656
## Sign Binaries and Images
5757

58-
Choose appropriate private key to sign the generated binaries and images.
59-
60-
The following commands are used for public release sign:
58+
The following commands are used for public release sign. Note that `SUBKEYID` should have been set appropriately:
6159

6260
```
6361
cd release
64-
gpg --sign -u $SUBKEYID fleet-${VERSION}.tar.gz
65-
gpg -u $SUBKEYID -a --output fleetd-${VERSION}-linux-amd64.aci.asc --detach-sig fleetd-${VERSION}-linux-amd64.aci
62+
gpg2 --sign -u $SUBKEYID --detach-sig fleet-${VERSION}.tar.gz
63+
gpg2 -u $SUBKEYID -a --output fleetd-${VERSION}-linux-amd64.aci.asc --detach-sig fleetd-${VERSION}-linux-amd64.aci
6664
```
6765

6866
## Publish Release Page in GitHub

0 commit comments

Comments
 (0)