From 48e17bf196b9471de188bebece2dafd46ef0af9c Mon Sep 17 00:00:00 2001 From: Oleg Yukhnevich Date: Mon, 19 Aug 2024 10:30:02 +0300 Subject: [PATCH] Make `aws s3 sync` the last command to fail in case of sync failures --- dokka-integration-tests/aws_sync.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dokka-integration-tests/aws_sync.sh b/dokka-integration-tests/aws_sync.sh index a77c8c72104..c6e78d1c604 100755 --- a/dokka-integration-tests/aws_sync.sh +++ b/dokka-integration-tests/aws_sync.sh @@ -33,6 +33,6 @@ done # Sync the new one commit_hash=$(git log -1 --format="%h") -aws s3 sync "$project_path" "$s3_project_address$commit_hash/" - echo "$commit_hash" + +aws s3 sync "$project_path" "$s3_project_address$commit_hash/"