Question: how do I set the version for a custom build? #18963
-
I'm trying to build a local fork of Trino and can't find where to set the version so that it shows up correctly in the UI. For example, I just updated from 403 to 425 and the version the UI tells me is Where does this get set for custom builds? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The version comes using the maven-gitcommitid plugin which uses You can tag the commit you are building with something and that will get used as the version. |
Beta Was this translation helpful? Give feedback.
-
Thank you! Tagging the commit worked! |
Beta Was this translation helpful? Give feedback.
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 whatgit describe
returns for you.You can tag the commit you are building with something and that will get used as the version.