From 8e299af97a9371d05ee3831c3f261c8a3c74233a Mon Sep 17 00:00:00 2001 From: Ray Zane Date: Wed, 7 Oct 2020 14:47:21 -0400 Subject: [PATCH] Exit publish script on invalid args --- bin/publish | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/publish b/bin/publish index b460370..76dea2e 100755 --- a/bin/publish +++ b/bin/publish @@ -4,6 +4,7 @@ set -euo pipefail if [ $# -ne 1 ]; then echo "Usage: bin/publish [version]" + exit 1 fi yarn version --new-version "$1" --no-git-tag-version