diff options
1 files changed, 6 insertions, 1 deletions
diff --git a/posts/git_signed_releases.md b/posts/git_signed_releases.md
index 335167f..ad95efe 100644
--- a/posts/git_signed_releases.md
+++ b/posts/git_signed_releases.md
@@ -1,6 +1,7 @@
title: Creating Signed Releases of your Git Projects
published: 2018-06-08
+modified: 2018-06-09
This post describes how to create a PGP signed software release from your Git
@@ -29,7 +30,7 @@ Now, with that out of the way, you can put the following POSIX shell script in
echo Version: "${PROJECT_VERSION}"
- git archive "${PROJECT_VERSION}" -o "${PROJECT_NAME}-${PROJECT_VERSION}.tar.xz"
+ 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"
### Creating a Release
@@ -60,3 +61,7 @@ You can verify the signature:
gpg: Good signature from "Fran├žois Kooman <fkooman@tuxed.net>" [ultimate]
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