Thanks! I tried it, but unfortunately it does not work. This produces tags of 
the format 

X.Y.Z-v[commits].v[hash]

It seems that the prefix is hard-coded right now:

++ mvn -B -ntp -Dset.changelist -Dexpression=project.version -q -DforceStdout 
help:evaluate
+ version=3.7.1-v587.vf524b_8edb_a_e2
+ gh api -F tag=3.7.1-v587.vf524b_8edb_a_e2 -F 
message=3.7.1-v587.vf524b_8edb_a_e2 -F 
object=f524b8edbae2d91f396f7201d01e254170475f4b -F type=commit 
/repos/jenkinsci/jquery3-api-plugin/git/tags
+ gh api -F ref=refs/tags/3.7.1-v587.vf524b_8edb_a_e2 -F 
sha=f524b8edbae2d91f396f7201d01e254170475f4b 
/repos/jenkinsci/jquery3-api-plugin/git/refs
++ gh api /repos/jenkinsci/jquery3-api-plugin/releases



> Am 11.08.2025 um 14:28 schrieb Michael Nazzareno Trimarchi 
> <[email protected]>:
> 
> Hi
> 
> cat .mvn/maven.config
> 
> .mvn/maven.config:-Dchangelist.format=%d.v%s
> 
> Not sure but maybe:
> 
> .mvn/maven.config:-Dchangelist.format=v%d.v%s
> 
> Michael
> 
> 
> 
> On Mon, Aug 11, 2025 at 2:22 PM Ullrich Hafner <[email protected] 
> <mailto:[email protected]>> wrote:
>> After switching to CD for my plugins I noticed that the tags in Git use a 
>> different format now. Is there a way to customize this format?
>> 
>> E.g. before I had vX.Y.Z. Now I get X.Y.Z. Is there a way to add the missing 
>> prefix `v`? Otherwise sorting of existing and new tags becomes cumbersome. 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <mailto:jenkinsci-dev%[email protected]>.
>> To view this discussion visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/4E2777D1-DCC0-4FCE-BC54-BB462254F4A1%40gmail.com.
> 
> 
> 
> --
> Michael Nazzareno Trimarchi
> Co-Founder & Chief Executive Officer
> M. +39 347 913 2170
> [email protected] <mailto:[email protected]>
> __________________________________
> 
> Amarula Solutions BV
> Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
> T. +31 (0)85 111 9172
> [email protected] <mailto:[email protected]>
> www.amarulasolutions.com <http://www.amarulasolutions.com/>
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/CAOf5uwm-ewYRv-GSezQpwH-6ogma_YfjVJKLO18RnRFyz4Y-qg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-dev/CAOf5uwm-ewYRv-GSezQpwH-6ogma_YfjVJKLO18RnRFyz4Y-qg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/jenkinsci-dev/97A22099-43D7-4073-AEC4-84F288F5B453%40gmail.com.

Reply via email to