aboutsummaryrefslogtreecommitdiffstats
path: root/posts/git_signed_releases.md
diff options
context:
space:
mode:
Diffstat (limited to 'posts/git_signed_releases.md')
-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