Skip to content

Commit

Permalink
remove quotes using Trim. REVERT LATER
Browse files Browse the repository at this point in the history
  • Loading branch information
srprash committed Jun 20, 2024
1 parent 9f238d4 commit 63b4e83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildtools/sign_files.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ Begin

$retryCount = 0
do {
$jobId = aws s3api get-object-tagging --bucket $unsignedS3bucket --key $key --version-id $versionId --query 'TagSet[?Key==`signer-job-id`].Value | [0]' --output text --no-paginate
$jobId = aws s3api get-object-tagging --bucket $unsignedS3bucket --key $key --version-id $versionId --query 'TagSet[?Key==`signer-job-id`].Value | [0]'
$jobId = $jobId.Trim('"')
$retryCount++
} while ($jobId -eq "null" -and $retryCount -le $maxRetryCount)

Expand Down

0 comments on commit 63b4e83

Please sign in to comment.