diff --git a/CHANGELOG.md b/CHANGELOG.md index 93fe660..3670e0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] +### Changed + - Invoke autoreconf in automake projects when incrementing version number + ## [2.2.0] - 2017-06-05 ### Changed @@ -64,6 +68,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [1.0.0] - 2016-12-22 +[Unreleased]: https://github.com/alkuna/omgf/compare/master...dev [2.2.0]: https://github.com/InternetGuru/omgf/compare/v2.1.2...v2.2.0 [2.1.2]: https://github.com/InternetGuru/omgf/compare/v2.1.1...v2.1.2 [2.1.1]: https://github.com/InternetGuru/omgf/compare/v2.1.0...v2.1.1 diff --git a/omgf b/omgf index cfc0c7f..b8854e8 100644 --- a/omgf +++ b/omgf @@ -892,6 +892,7 @@ function main { function gf_commit_version { msg_start "Increment version number to '$major.$minor.$patch'" echo "$major.$minor.$patch" > "$OMGF_VERSION" + [[ -s configure.ac ]] && autoreconf -f git commit -am "Increment version number" >/dev/null || return 1 msg_end "$DONE" }