I read the CloudBees blog on jx-release-version.
It looks interesting to determine next version. Is it only available for Jenkins X?
We use something like automatic versioning based on the number of git commits.
Current version v1.0.0
Add 5 commits, push and next version is v1.0.5
This is because we didn't want to make bump commits any more.
With this jx-release-version we could get the same advantage, but not get the next version minor as a commit count from the last.
Can this tool be used with standard Jenkins installation and our Pipeline scripts?
What about Gradle, automake and cmake? Is there plans to support these also?
build.gradle
version = 1.0.0-SNAPSHOT
CMakeLists.txt
project(application VERSION 1.0.0)
AC_INIT(application, 1.0.0)
Our projects with automake (
configure.ac) and cmake (CMakeLists.txt) does not use the SNAPSHOT postfix on version. It is only used for Java projects with Maven and Gradle.