I read the CloudBees blog on jx-release-version.
>
> x-release-version calculates the next version number based on the current 
> Git tag, or current specified version on pom.xml/Makefile

https://www.cloudbees.com/blog/automatically-versioning-your-application-jenkins-x

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 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)
configure.ac
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.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/53425fe6-e3c2-4411-858f-c0af006711c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to