Dependency builds and linked versions
I have 2 separated builds (actually master and ci git branches)
Master branch version format is MAJOR.{appveyor_build1_increment}.0
CI branch version format is MAJOR.{appveyor_build1_increment}.{appveyor_build2_increment > 0}
Every master build CI build must reset it appveyor_build2_increment to 1.
Can i automate version fetch and patch in build2 from build1?
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 BlackGad on 09 Jul, 2017 09:15 PM
Resolved.
Configurations:
Build 1:
Version format MAJOR.{Increment}.
Option "Pull Requests do not increment build number" enabled
Build 2:
Version format {increment}
Option "Pull Requests do not increment build number" enabled.
Init script set (Build->Environment->Init)
Support Staff 2 Posted by Feodor Fitsner on 09 Jul, 2017 10:20 PM
Thanks for sharing the solution!
3 Posted by BlackGad on 10 Jul, 2017 09:23 AM
One more question :) Is it possible to reset build increment to specific value via script?
4 Posted by Ilya Finkelshte... on 10 Jul, 2017 08:45 PM
Please look at this sample. It is for little bit different scenario, when build needs to reset
nextBuildNumberfor itself, when some condition happens. But I believe you can easily adjust it to makemasterto resetnextBuildNumberforcibuild.Please let us know if you need any additional help with it.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:18 AM.