Skip to content

Commit

Permalink
Update test snapshot script
Browse files Browse the repository at this point in the history
  • Loading branch information
bentrengrove committed Oct 5, 2022
1 parent aa7b326 commit 404b049
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/test_snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 404b049

Please sign in to comment.