Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
scripts/upload: signing pypi packages is no longer required
Browse files Browse the repository at this point in the history
Signed-off-by: Charles Oliveira <[email protected]>
  • Loading branch information
chaws committed Nov 23, 2023
1 parent 3ad7c2e commit f8edf05
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions scripts/upload
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@
tag="$1"
v="${tag:1}"

if [ "$GPG_DEFAULT_KEY_ID" = "" ]
then
GPG_DEFAULT_KEY_ID=`gpgconf --list-options gpg | awk -F: '$1 == "default-key" {print $10}'`
fi

# Push to PyPi
# sign & upload
for f in dist/*; do
gpg --default-key $GPG_DEFAULT_KEY_ID --detach-sign --armor "$f"
done
twine upload dist/*

# Push to dockerhub
Expand Down

0 comments on commit f8edf05

Please sign in to comment.