mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Add dev version output
This commit is contained in:
parent
52e547fa4f
commit
d434485b2c
@ -1132,8 +1132,15 @@ function show_version {
|
|||||||
|
|
||||||
MESSAGE="${BLUE}https://github.com/vmstan/gravity-sync${NC}"
|
MESSAGE="${BLUE}https://github.com/vmstan/gravity-sync${NC}"
|
||||||
echo_info
|
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
|
echo_info
|
||||||
|
|
||||||
GITVERSION=$(curl -sf https://raw.githubusercontent.com/vmstan/gravity-sync/master/VERSION)
|
GITVERSION=$(curl -sf https://raw.githubusercontent.com/vmstan/gravity-sync/master/VERSION)
|
||||||
|
Loading…
Reference in New Issue
Block a user