Skip to content

Commit

Permalink
print version number in installer
Browse files Browse the repository at this point in the history
  • Loading branch information
moggieuk committed Feb 7, 2024
1 parent b42f4d1 commit 5a8f706
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion happy_hare/install_ks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,15 @@ self_update() {
git pull --quiet --force
git checkout $BRANCH --quiet
git pull --quiet --force
GIT_VER=$(git describe --tags)
echo -e "${B_GREEN}Now on git version {GIT_VER}"
echo -e "${B_GREEN}Running the new install script..."
cd - >/dev/null
exec "$SCRIPTNAME" "${ARGS[@]}"
exit 1 # Exit this old instance
}
echo -e "${B_GREEN}Already the latest version."
GIT_VER=$(git describe --tags)
echo -e "${B_GREEN}Already the latest version: {GIT_VER}"
}

function nextsuffix {
Expand Down

0 comments on commit 5a8f706

Please sign in to comment.