Skip to content

Commit

Permalink
PyPI no longer supports GPG signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Nov 19, 2023
1 parent 3b51e78 commit 3c6dc0a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ def build_release():
run(sys.executable, '-m', 'build', '-s')


def sign_release():
for installer in glob.glob('dist/*'):
run(os.environ['PENV'] + '/gpg-as-kovid', '--armor', '--detach-sig', installer)


def tag_release():
run('git push')
run('git tag -s "v{0}" -m "version-{0}"'.format(VERSION))
Expand All @@ -70,7 +65,6 @@ def main():
if raw_input('Publish version {} [y/n]? '.format(red(VERSION))) != 'y':
raise SystemExit(1)
build_release()
sign_release()
if raw_input(red('Upload') + ' release [y/n]? ') != 'y':
raise SystemExit(1)
tag_release()
Expand Down

0 comments on commit 3c6dc0a

Please sign in to comment.