From b813d214920ecda740d54536b4546ab5de90ed79 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Fri, 29 May 2020 18:07:38 -0500 Subject: [PATCH] Output version on Git --- gravity-sync.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gravity-sync.sh b/gravity-sync.sh index 0ed3038..70ef759 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -886,6 +886,10 @@ function list_gs_arguments { function show_version { MESSAGE="${PROGRAM} ${VERSION}" echo_info + + GITVERSION=$(curl https://raw.githubusercontent.com/vmstan/gravity-sync/development/VERSION) + MESSAGE="Latest Version: ${GITVERSION}" + echo_info } # Task Stack