diff options
author | François Kooman <fkooman@tuxed.net> | 2018-06-26 23:17:44 +0200 |
---|---|---|
committer | François Kooman <fkooman@tuxed.net> | 2018-06-26 23:17:44 +0200 |
commit | af60c1d2db9509829ffdc72232c76305036c8614 (patch) | |
tree | a7fc7f0901a0592f8b1f83541b8512d96e849b5d /posts/git_signed_releases.md | |
parent | 77d9856faf930a1c5e0b41559315b3282f318ef3 (diff) | |
download | www.tuxed.net-af60c1d2db9509829ffdc72232c76305036c8614.zip www.tuxed.net-af60c1d2db9509829ffdc72232c76305036c8614.tar.gz www.tuxed.net-af60c1d2db9509829ffdc72232c76305036c8614.tar.xz |
update post
Diffstat (limited to 'posts/git_signed_releases.md')
-rw-r--r-- | posts/git_signed_releases.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/posts/git_signed_releases.md b/posts/git_signed_releases.md index ad95efe..235d876 100644 --- a/posts/git_signed_releases.md +++ b/posts/git_signed_releases.md @@ -1,7 +1,7 @@ --- title: Creating Signed Releases of your Git Projects published: 2018-06-08 -modified: 2018-06-09 +modified: 2018-06-26 --- This post describes how to create a PGP signed software release from your Git @@ -31,7 +31,7 @@ Now, with that out of the way, you can put the following POSIX shell script in fi git archive --prefix "${PROJECT_NAME}-${PROJECT_VERSION}/" "${PROJECT_VERSION}" -o "${PROJECT_NAME}-${PROJECT_VERSION}.tar.xz" - gpg2 --armor --detach-sign "${PROJECT_NAME}-${PROJECT_VERSION}.tar.xz" + gpg2 --armor --detach-sign --yes "${PROJECT_NAME}-${PROJECT_VERSION}.tar.xz" ### Creating a Release @@ -65,3 +65,6 @@ Easy peasy ;-) **UPDATE** (2018-06-09): the `git archive` command got a `--prefix` now as to put the contents in a directory containing the name and version of the software. + +**UPDATE** (2018-06-26): add the `--yes` flag to `gpg2` to avoid it asking +to overwrite the signature file |