mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-11-29 18:27:43 +08:00
Change version
This commit is contained in:
parent
610ea4727f
commit
9659ab6314
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user