diff options
author | Björn Mattsson <bjorn@sunet.se> | 2023-03-06 11:22:05 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2023-03-06 11:22:05 +0100 |
commit | 467dbdbf3d7212e25ee69daeaadd8adba7c7c5b8 (patch) | |
tree | d3576d5f2d4b5cc676c0a12ef8f8c3c83b474bf5 /scripts/verify-tag | |
parent | bc1d55080e5d42e6ef2bba892d640aa8f68bbc90 (diff) |
Moved files to make ths repo signed
Diffstat (limited to 'scripts/verify-tag')
-rwxr-xr-x | scripts/verify-tag | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/verify-tag b/scripts/verify-tag new file mode 100755 index 00000000..ddc3ff3b --- /dev/null +++ b/scripts/verify-tag @@ -0,0 +1,14 @@ +#!/bin/bash + +export GNUPGHOME=/etc/metadata/gnupg +mkdir -p $GNUPGHOME +export GPG=gpg + +git config --global gpg.program gpg + +tag=$(git tag -l "md-[0-9]*" | sort | tail -1) +if [ -z "$tag" ]; then + echo "no matching tag found" + exit 1 +fi +git checkout $tag && git tag -v $tag |