mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Don't delete the .release-backup-done
file
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
3133b46807
commit
c9c1e2414e
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,8 @@ def upload_artifacts(ctx: Context, salt_version: str, artifacts_path: pathlib.Pa
|
|||
if "Contents" in ret:
|
||||
objects = []
|
||||
for entry in ret["Contents"]:
|
||||
if entry["Key"].endswith(".release-backup-done"):
|
||||
continue
|
||||
objects.append({"Key": entry["Key"]})
|
||||
to_delete_paths.extend(objects)
|
||||
except ClientError as exc:
|
||||
|
|
Loading…
Add table
Reference in a new issue