diff --git a/helper/push-release.sh b/helper/push-release.sh index 1d65fc3..56e02e0 100755 --- a/helper/push-release.sh +++ b/helper/push-release.sh @@ -35,7 +35,8 @@ if [[ $DRY_RUN ]]; then else OAUTH_TOKEN=$(pass show nix-bitcoin/github/oauth-token) if [[ ! $OAUTH_TOKEN ]]; then - echo "Please set OAUTH_TOKEN variable" + echo "Error fetching OAUTH_TOKEN" + exit 1 fi fi