Skip to content

Commit

Permalink
fix: use explicit value for tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jaulz authored Jul 25, 2024
1 parent e92f0bc commit 2b9ee27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/s3-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ async function s3TagAsObsolete(aws: AwsProvider, bucket: string, keys: string[])
TagSet: [
{
Key: "Obsolete",
Value: "",
Value: "true",
},
],
},
Expand All @@ -188,7 +188,7 @@ async function s3TagAsObsolete(aws: AwsProvider, bucket: string, keys: string[])
CopySource: `${bucket}/${key}`,
ContentType: contentType,
Metadata: {
"x-amz-tagging": "Obsolete="
"x-amz-tagging": "Obsolete=true"
},
MetadataDirective: "REPLACE",
});
Expand Down

0 comments on commit 2b9ee27

Please sign in to comment.