From 404b0499e8c723fece6be4b183aa1eb30f7ff27e Mon Sep 17 00:00:00 2001 From: Ben Trengrove Date: Tue, 4 Oct 2022 18:31:47 -0700 Subject: [PATCH] Update test snapshot script --- scripts/test_snapshot.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/test_snapshot.sh b/scripts/test_snapshot.sh index 0f9f1698c..18e357334 100755 --- a/scripts/test_snapshot.sh +++ b/scripts/test_snapshot.sh @@ -22,6 +22,7 @@ # ./scripts/test_snapshot.sh # ######################################################################## +set -e if [ -z "$1" ]; then read -p "Enter compose version e.g. 1.3.0: " compose_ver @@ -44,7 +45,7 @@ sed -i '' -e 's/^compose = ".*"/compose = "'$compose_ver'-SNAPSHOT"/g' ./scripts # Copy to all samples and verify ./scripts/duplicate_version_config.sh ./scripts/verify_samples.sh -./scripts/gradlew_recursive testDebug --stacktrace +./scripts/gradlew_recursive.sh testDebug --stacktrace # Undo all changes mv ./scripts/libs.versions.toml.tmp ./scripts/libs.versions.toml