Fix bug in push_to_artifactory.py, create a necessary dir

This commit is contained in:
Mikhail f. Shiryaev 2022-03-17 17:44:01 +01:00
parent aabb3f883b
commit b18daeab6f
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -304,6 +304,7 @@ def process_tgz(s3: S3, art_client: Artifactory):
def main():
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(message)s")
args = parse_args()
os.makedirs(TEMP_PATH, exist_ok=True)
s3 = S3(
args.bucket_name,
args.pull_request,