aboutsummaryrefslogtreecommitdiffstats
path: root/posts
diff options
context:
space:
mode:
authorFran├žois Kooman <fkooman@tuxed.net>2018-06-26 23:17:44 +0200
committerFran├žois Kooman <fkooman@tuxed.net>2018-06-26 23:17:44 +0200
commitaf60c1d2db9509829ffdc72232c76305036c8614 (patch)
treea7fc7f0901a0592f8b1f83541b8512d96e849b5d /posts
parent77d9856faf930a1c5e0b41559315b3282f318ef3 (diff)
downloadwww.tuxed.net-af60c1d2db9509829ffdc72232c76305036c8614.zip
www.tuxed.net-af60c1d2db9509829ffdc72232c76305036c8614.tar.gz
www.tuxed.net-af60c1d2db9509829ffdc72232c76305036c8614.tar.xz
update post
Diffstat (limited to 'posts')
-rw-r--r--posts/git_signed_releases.md7
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