Skip to content

Commit 696acee

Browse files
committed
Do not upload GPG signatures as PyPI doesnt support them anymore
1 parent af3c14f commit 696acee

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

publish.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ def build_release():
4141
run(sys.executable, '-m', 'build')
4242

4343

44-
def sign_release():
45-
for installer in glob.glob('dist/*'):
46-
run(os.environ['PENV'] + '/gpg-as-kovid', '--armor', '--detach-sig',
47-
installer)
48-
49-
5044
def tag_release():
5145
run('git tag -s "v{0}" -m "version-{0}"'.format(VERSION))
5246
run('git push origin "v{0}"'.format(VERSION))
@@ -77,7 +71,6 @@ def main():
7771
if myinput('Publish version {} [y/n]? '.format(red(VERSION))) != 'y':
7872
raise SystemExit(1)
7973
build_release()
80-
sign_release()
8174
if myinput(red('Upload') + ' release [y/n]? ') != 'y':
8275
raise SystemExit(1)
8376
tag_release()

0 commit comments

Comments
 (0)