push-release: fix OAUTH_TOKEN error handling
This commit is contained in:
@@ -35,7 +35,8 @@ if [[ $DRY_RUN ]]; then
|
|||||||
else
|
else
|
||||||
OAUTH_TOKEN=$(pass show nix-bitcoin/github/oauth-token)
|
OAUTH_TOKEN=$(pass show nix-bitcoin/github/oauth-token)
|
||||||
if [[ ! $OAUTH_TOKEN ]]; then
|
if [[ ! $OAUTH_TOKEN ]]; then
|
||||||
echo "Please set OAUTH_TOKEN variable"
|
echo "Error fetching OAUTH_TOKEN"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user