Update version to 0.9.32

This commit is contained in:
antao 2019-04-07 01:25:38 +08:00
parent ea12d4c767
commit 705250eb90
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
GIT_VER=$(git log|grep ^commit|wc -l|sed -e "s/^ *//")
MD5=$(git log|head -1|awk '{printf $2}')
TMP_FILE=/tmp/version
echo "#define VERSION \"0.9.31.$GIT_VER\"" > ${TMP_FILE}
echo "#define VERSION \"0.9.32.$GIT_VER\"" > ${TMP_FILE}
echo "#define VERSION_MD5 \"$MD5\"" >> ${TMP_FILE}
if [ ! -f $1 ];then
mv -f ${TMP_FILE} $1