Bump version to v1.0.0-beta4 (#201)

This commit is contained in:
An Tao 2019-07-30 21:10:21 +08:00 committed by GitHub
parent fe034d6ea0
commit 4f942602ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 2 deletions

View File

@ -4,6 +4,27 @@ All notable changes to this project will be documented in this file.
## [Unreleased]
## [1.0.0-beta4] - 2019-07-30
### API change list
- HttpRequest::query() returns a const reference of std::string instead of a string_view
- WebSocketConnection::setContext(), WebSocketConnection::getContext(), etc.
- Remove the config.h from public API.
### Added
- None
### Changed
- Modify the CMakeLists.txt
- Modify the get_version.sh
### Fixed
- None
## [1.0.0-beta3] - 2019-07-28
### API change list
@ -51,7 +72,9 @@ All notable changes to this project will be documented in this file.
## [1.0.0-beta1] - 2019-06-11
[Unreleased]: https://github.com/an-tao/drogon/compare/v1.0.0-beta3...HEAD
[Unreleased]: https://github.com/an-tao/drogon/compare/v1.0.0-beta4...HEAD
[1.0.0-beta4]: https://github.com/an-tao/drogon/compare/v1.0.0-beta3...v1.0.0-beta4
[1.0.0-beta3]: https://github.com/an-tao/drogon/compare/v1.0.0-beta2...v1.0.0-beta3

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