diff options
author | EuAndreh <eu@euandre.org> | 2021-07-23 14:26:32 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-07-23 14:39:06 -0300 |
commit | 1ffa31699d1ee159990315f12e099d351daa5f93 (patch) | |
tree | 672242211d4ace4c7109fba2475a0a94f7a52f39 | |
parent | CHANGELOG.md: Add note on removing dependency on Perl (diff) | |
download | git-permalink-1ffa31699d1ee159990315f12e099d351daa5f93.tar.gz git-permalink-1ffa31699d1ee159990315f12e099d351daa5f93.tar.xz |
aux/workflow/sign-tarballs.sh: Fix attaching signatures
THe documentation is actually incorrect, and the "v" prefix is needed.
-rwxr-xr-x | aux/workflow/sign-tarballs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aux/workflow/sign-tarballs.sh b/aux/workflow/sign-tarballs.sh index 168d38d..dcf8a06 100755 --- a/aux/workflow/sign-tarballs.sh +++ b/aux/workflow/sign-tarballs.sh @@ -28,8 +28,8 @@ for tag in $(git tag); do COMMIT="$(git rev-list -n1 "$tag")" if ! echo "$SIGNATURES" | grep -qF "$COMMIT"; then echo "Adding missing signature to $tag" >&2 - git notes --ref=refs/notes/signatures/tar.gz add -f -C "$( - git archive --format tar.gz --prefix "$PROJECT-${tag#v}/" "$tag" | + git notes --ref=refs/notes/signatures/tar.gz add -C "$( + git archive --format tar.gz --prefix "$PROJECT-$tag/" "$tag" | gpg --output - --armor --detach-sign | git hash-object -w --stdin )" "$tag" |