Skip to content

Commit

Permalink
display version
Browse files Browse the repository at this point in the history
  • Loading branch information
motdotla committed Jun 18, 2024
1 parent d70c4c9 commit c2f7982
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ usage() {
# machine checks ------------------------
is_version_valid() {
if [ -z "$VERSION" ]; then
echo "[INSTALLATION_FAILED] VERSION is blank in install.sh script"
echo "[INSTALLATION_FAILED] VERSION ($VERSION) is blank in install.sh script"
echo "? set VERSION to valid semantic semver version and try again"

return 1
Expand All @@ -97,7 +97,7 @@ is_version_valid() {
if [[ "$VERSION" =~ $semver_regex ]]; then
return 0
else
echo "[INSTALLATION_FAILED] VERSION is not a valid semantic version in install.sh script"
echo "[INSTALLATION_FAILED] VERSION ($VERSION) is not a valid semantic version in install.sh script"
echo "? set VERSION to valid semantic semver version and try again"

return 1
Expand Down

0 comments on commit c2f7982

Please sign in to comment.