Browse Source

Specify file to upload via twine

Kentaro Wada 6 years ago
parent
commit
88c7d1dfb4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      setup.py

+ 1 - 1
setup.py

@@ -86,7 +86,7 @@ if sys.argv[1] == 'release':
         'git tag v{:s}'.format(version),
         'git push origin master --tag',
         'python setup.py sdist',
-        'twine upload dist/*.tar.gz',
+        'twine upload dist/labelme-{:s}.tar.gz'.format(version),
     ]
     for cmd in commands:
         subprocess.check_call(shlex.split(cmd))