mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Updated show version
This commit is contained in:
parent
b813d21492
commit
c51753d388
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user