Support for automake
Closed this issue · 2 comments
DJViking commented
Support for automake by reading the version from configure.ac
AC_INIT(project, 1.2.18, support@company.com)
RegEx for getting the version:
AC_INIT\\s*\\(([^\\s]+),\\s*([.\\d]+).*\\)
This tool worked on a automake project, but only master. For any release branch it output 0.0.1, even if I used --same-release. If I create a Makefile here with the version in configure.ac it works.
If running automake then it will generate a Makefile that will work with jx-release-version.
./autogen.sh
./configure
That is a workaround, but the best solution would be to read the base version from configure.ac.
DJViking commented
I have made an implementation for Automake. Waiting for my awaiting PR before I submit it.
DJViking commented
feature merged to master