Update version to 0.9.7

This commit is contained in:
antao 2018-11-16 13:56:57 +08:00
parent c1164d8c42
commit 215fc68fe3
2 changed files with 1 additions and 24 deletions

View File

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

View File

@ -1,23 +0,0 @@
/**
*
* Transaction.h
* An Tao
*
* Copyright 2018, An Tao. All rights reserved.
* Use of this source code is governed by a MIT license
* that can be found in the License file.
*
*
*/
#pragma once
#include <drogon/orm/DbClient.h>
namespace drogon
{
namespace orm
{
} // namespace orm
} // namespace drogon