1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 13:44:14 +01:00

We should add the file too..

This commit is contained in:
Johan Andersson 2020-09-13 20:13:31 +02:00
parent 799eae3f0a
commit 54412eb823

View File

@ -88,7 +88,9 @@ def aws_upload():
logger.info("Upload to aws {}/{}".format(folder, version))
for file in ["svtplay-dl", "svtplay-dl-amd64.zip", "svtplay-dl-win32.zip"]:
if os.path.isfile(file):
subprocess.check_call(["aws", "s3", "cp", "{}".format(file), "s3://svtplay-dl/{}/{}/{}".format(folder, version, file)])
subprocess.check_call(
["aws", "--region", "us-east-1", "s3", "cp", "{}".format(file), "s3://svtplay-dl/{}/{}/{}".format(folder, version, file)]
)
def pypi_upload():