Maven pom version as build version
Hi,
I have a maven project that is configured in appveyor. I would like to use the version defined in pom.xml in the appveyor build version, thus resulting in format {pom version}.{build}
Also, would like to know if changing major minor version in the appveyor config yml resets the {build} value to 0 or 1?? Tried searching and could not get any info on it :-(
Thanks
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ilya Finkelshte... on 04 Jan, 2017 08:53 PM
Hello,
Please check this script. Here is some tests with it.
Please let us know if this helps.
--ilya.
2 Posted by pathrikumark on 05 Jan, 2017 02:39 AM
Thanks a lot, ilya :)
I though there was some configuration or something, where you just mention whether the build version should be reset for a change in Major/Minor version. So Appveyor does not have any such configuration huh ? :( Any idea whether there will be any such configuration in future?
Thanks,
Keerthi Kumar P
3 Posted by Ilya Finkelshte... on 05 Jan, 2017 04:13 AM
Hi Keerthi,
Honestly we did not plan to make it first-class feature because we did not see to much demand and are not sure that we fully understand all use cases.
Do you think this script will work for you?
--ilya,
4 Posted by pathrikumark on 05 Jan, 2017 02:25 PM
Yup it does. Thanks a lot
Have another query. Is it fine if I post it in this thread itself? Or a new post would be better?
5 Posted by Ilya Finkelshte... on 05 Jan, 2017 03:31 PM
You are welcome! Let us please start new post to make it more searchable for another people.
pathrikumark closed this discussion on 06 Jan, 2017 05:50 PM.