Skip to content

Question: how do I set the version for a custom build? #18963

Closed Answered by hashhar
giovtorres asked this question in Q&A
Discussion options

You must be logged in to vote

The version comes using the maven-gitcommitid plugin which uses git describe output. So check if your repo has all the tags and the history isn't diverged. So check what git describe returns for you.

You can tag the commit you are building with something and that will get used as the version.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by giovtorres
Comment options

You must be logged in to vote
1 reply
@amir-bashir
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #18960 on September 08, 2023 02:43.