소스 검색

Specify file to upload via twine

Kentaro Wada 6 년 전
부모
커밋
88c7d1dfb4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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))