Skip to content

Commit

Permalink
s/gpg2/gpg (certbot#180)
Browse files Browse the repository at this point in the history
This does the same thing I did in certbot/certbot#9985 for the same reasons.
  • Loading branch information
bmw authored Sep 4, 2024
1 parent bab241c commit 4228a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if [ "$RELEASE_GPG_KEY" = "" ]; then
F2871B4152AE13C49519111F447BF683AA3B26C3
"
for key in $TRUSTED_KEYS; do
if gpg2 --with-colons --card-status | grep -q "$key"; then
if gpg --with-colons --card-status | grep -q "$key"; then
RELEASE_GPG_KEY="$key"
break
fi
Expand Down Expand Up @@ -106,7 +106,7 @@ poetry build
echo "Signing josepy"
for x in dist/*.tar.gz dist/*.whl
do
gpg2 -u "$RELEASE_GPG_KEY" --detach-sign --armor --sign --digest-algo sha256 $x
gpg -u "$RELEASE_GPG_KEY" --detach-sign --armor --sign --digest-algo sha256 $x
done

mkdir "dist.$version"
Expand Down

0 comments on commit 4228a34

Please sign in to comment.