Skip to content

Commit

Permalink
s/gpg2/gpg
Browse files Browse the repository at this point in the history
  • Loading branch information
bmw committed Aug 19, 2024
1 parent 87d798e commit 6275a46
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 6275a46

Please sign in to comment.