jenkins-x-plugins/jx-release-version

Support for automake

Closed this issue · 2 comments

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.

I have made an implementation for Automake. Waiting for my awaiting PR before I submit it.

feature merged to master