diff options
author | EuAndreh <eu@euandre.org> | 2021-06-06 09:30:19 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-06-06 09:30:19 -0300 |
commit | 81643ca1677593291d2024ace4f25b2885c888d4 (patch) | |
tree | cf9461f047dac5c0612c097b3dfc9ef83d04bf91 /aux/workflow/sign-tarballs.sh | |
parent | src/remembering.sh: Use tabs for separating options columns (diff) | |
download | remembering-81643ca1677593291d2024ace4f25b2885c888d4.tar.gz remembering-81643ca1677593291d2024ace4f25b2885c888d4.tar.xz |
aux/: Use tabs over spaces for .sh files
Diffstat (limited to 'aux/workflow/sign-tarballs.sh')
-rwxr-xr-x | aux/workflow/sign-tarballs.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/aux/workflow/sign-tarballs.sh b/aux/workflow/sign-tarballs.sh index b88ff33..8de6ac4 100755 --- a/aux/workflow/sign-tarballs.sh +++ b/aux/workflow/sign-tarballs.sh @@ -5,13 +5,13 @@ PROJECT="$1" SIGNATURES="$(git notes --ref=refs/notes/signatures/tar.gz list | cut -d\ -f2)" 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" | - gpg --output - --armor --detach-sign | - git hash-object -w --stdin - )" "$tag" - fi + 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" | + gpg --output - --armor --detach-sign | + git hash-object -w --stdin + )" "$tag" + fi done |