mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-19 02:21:32 +08:00
Add --skip-existing flag to twine upload
This commit is contained in:
+1
-1
@@ -307,7 +307,7 @@ def build_package(package: Package):
|
||||
def upload_package(package: Package):
|
||||
click.echo(f"uploading package {package.name}")
|
||||
subprocess.run(
|
||||
["twine", "upload"] + list(package.path.joinpath("dist").glob("*")),
|
||||
["twine", "upload", "--skip-existing"] + list(package.path.joinpath("dist").glob("*")),
|
||||
cwd=package.path,
|
||||
).check_returncode()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user