Updated show version

This commit is contained in:
Michael Stanclift 2020-05-29 18:09:48 -05:00
parent b813d21492
commit c51753d388

View File

@ -884,10 +884,13 @@ function list_gs_arguments {
# Output Version
function show_version {
MESSAGE="${PROGRAM} ${VERSION}"
MESSAGE="${PROGRAM} by @vmstan"
echo_info
MESSAGE="Current Version: ${VERSION}"
echo_info
GITVERSION=$(curl https://raw.githubusercontent.com/vmstan/gravity-sync/development/VERSION)
GITVERSION=$(curl -s https://raw.githubusercontent.com/vmstan/gravity-sync/development/VERSION)
MESSAGE="Latest Version: ${GITVERSION}"
echo_info
}