Skip to content

Commit

Permalink
build(cli): detect when signing process has completed (#902)
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Afiune Maya <[email protected]>
  • Loading branch information
afiune authored Aug 30, 2022
1 parent d176ac5 commit 05bca71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ download_artifacts() {
log "downloading signed artifacts for v$VERSION"
aws s3 sync "s3://lacework-cli/builds/v${VERSION}/signed" bin/signed

while [ ! -n "$(ls -1 bin/signed 2>/dev/null)" ]; do
while [ ! -n "$(ls -1 bin/signed/.completed 2>/dev/null)" ]; do
log "waiting for signed artifacts..."
sleep 5
aws s3 sync "s3://lacework-cli/builds/v${VERSION}/signed" bin/signed
Expand Down

0 comments on commit 05bca71

Please sign in to comment.