diff --git a/go.sh b/go.sh index 1cd5b71..e78169f 100644 --- a/go.sh +++ b/go.sh @@ -3,7 +3,11 @@ export TAG_VERSION=$(git tag --points-at HEAD) if [[ -z "$TAG_VERSION" ]]; then # Get the latest version for the repo - export CURRENT_VERSION=$(curl "https://api.github.com/repos/nullinside-development-group/twitch-streaming-tools/tags" | jq -r '.[0].name') + if ! export CURRENT_VERSION=$(curl "https://api.github.com/repos/nullinside-development-group/nullinside-twitch-streaming-tools/tags" | jq -r '.[0].name') + then + exit 1 + fi + major=1 minor=0 build=-1