Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
fix: release script (#1918)
Browse files Browse the repository at this point in the history
This makes the `--skip_tests` optional
  • Loading branch information
asdfryan authored Nov 14, 2023
1 parent 66350ff commit 78af318
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/prepare_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ VERSION=$1
SKIP_TESTS=false

# Check for the --skip_tests flag
if [ "$2" == "--skip_tests" ]; then
SKIP_TESTS=true
if [ "${2-}" == "--skip_tests" ]; then
SKIP_TESTS="true"
fi

# fail if not clean working directory
Expand Down
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ fi
SKIP_TESTS=false

# Check for the --skip_tests flag
if [ "$1" == "--skip_tests" ]; then
SKIP_TESTS=true
if [ "${1-}" == "--skip_tests" ]; then
SKIP_TESTS="true"
fi

APPS=(api sync-worker)
Expand Down

0 comments on commit 78af318

Please sign in to comment.