Change version

This commit is contained in:
antao 2019-01-27 16:46:26 +08:00
parent 610ea4727f
commit 9659ab6314
2 changed files with 2 additions and 5 deletions

View File

@ -30,6 +30,3 @@ Drogon的主要应用平台是Linux也支持Mac OS、FreeBSD目前还不
* 方便的轻量级ORM实现支持常规的对象到数据库的双向映射操作
### 更多详情请浏览 [wiki](https://gitee.com/an-tao/drogon/wikis/概述)
### 欢迎加微信群交流
![](https://github.com/an-tao/drogon/wiki/images/wechat.jpeg)

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.19.$GIT_VER\"" > ${TMP_FILE}
echo "#define VERSION \"0.9.20.$GIT_VER\"" > ${TMP_FILE}
echo "#define VERSION_MD5 \"$MD5\"" >> ${TMP_FILE}
if [ ! -f $1 ];then
mv -f ${TMP_FILE} $1