We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8b0d6c commit 61eda2cCopy full SHA for 61eda2c
install.sh
@@ -38,7 +38,10 @@ VERSION=v1
38
39
script=$(curl -so- https://raw.githubusercontent.com/simbo/release-version-script/${VERSION}/release.sh)
40
if [[ "${script:0:3}" = "404" ]]; then
41
- t="${TERM:-"dumb"}"; printf "\n$(tput -T$t setaf 1)ERROR: version '${VERSION}' not found$(tput -T$t sgr0)\n"; exit 1
+ t="${TERM:-"dumb"}"
42
+ printf "\n$(tput -T$t setaf 1)ERROR: could not find version '${VERSION}'$(tput -T$t sgr0)"
43
+ printf "\nSee ${b}${u}https://github.com/simbo/release-version-script/tags${x} for available versions.\n"
44
+ exit 1
45
fi
46
bash -c "$script" -s $1
47
EOF
0 commit comments