2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-01-08 09:22:33 +00:00

Restore USEGITVER=1 behavior

This commit is contained in:
Jarrod Johnson
2016-12-14 10:40:45 -05:00
parent fe1e06387f
commit ef7f7e52d7

View File

@@ -176,11 +176,12 @@ function setversionvars {
VER=`git describe --tags`
VER=${VER/-/.POST}
VER=${VER/-/.}
export XCATVER
XCATVER=$VER
else
VER=`cat Version`
XCATVER=`cat Version`
fi
XCATVER=$VER
#export XCATVER
SHORTVER=`echo $VER|cut -d. -f 1,2`
SHORTSHORTVER=`echo $VER|cut -d. -f 1`
BUILD_TIME=`date`