mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-02 03:38:03 +08:00
Change version to 0.9.6
This commit is contained in:
parent
882a8f8090
commit
373a423dfe
@ -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.5.$GIT_VER\"" > ${TMP_FILE}
|
||||
echo "#define VERSION \"0.9.6.$GIT_VER\"" > ${TMP_FILE}
|
||||
echo "#define VERSION_MD5 \"$MD5\"" >> ${TMP_FILE}
|
||||
if [ ! -f $1 ];then
|
||||
mv -f ${TMP_FILE} $1
|
||||
|
Loading…
Reference in New Issue
Block a user