Skip to content

Commit

Permalink
release: use correct exit code
Browse files Browse the repository at this point in the history
This bug was found with shellcheck.

This updates #528
  • Loading branch information
zegl committed Jun 2, 2019
1 parent bed5b7e commit 496e934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/release/create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ set -o pipefail

if [ "$#" -ne 2 ]; then
echo "Usage: create.sh release-version next-prerelease-version"
exit -1
exit 1
fi

REPO_ROOT=$(git rev-parse --show-toplevel)
Expand Down

0 comments on commit 496e934

Please sign in to comment.