From d434485b2c5c88725176703f60401e30d817cad7 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Mon, 22 Jun 2020 09:45:35 -0500 Subject: [PATCH] Add dev version output --- gravity-sync.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index e05b9fc..09d7fc9 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -1132,8 +1132,15 @@ function show_version { MESSAGE="${BLUE}https://github.com/vmstan/gravity-sync${NC}" echo_info + + if [ -f $HOME/${LOCAL_FOLDR}/dev ] + then + DEVVERSION="dev" + else + DEVVERSION="" + fi - MESSAGE="Running Version: ${GREEN}${VERSION}${NC}" + MESSAGE="Running Version: ${GREEN}${VERSION}${NC} ${DEVVERSION}" echo_info GITVERSION=$(curl -sf https://raw.githubusercontent.com/vmstan/gravity-sync/master/VERSION)