tag:help.appveyor.com,2012-11-13:/discussions/questions/39381-semver-id-like-to-increase-patch-value-on-each-buildAppVeyor: Discussion 2020-06-29T11:32:16Ztag:help.appveyor.com,2012-11-13:Comment/474319982019-07-12T11:06:45Z2020-06-29T11:32:16ZSemVer - i'd like to increase patch value on each build<div><p>Hi,<br>
I'd like to increase patch value on each build, i'm using gitversion and i want to appveyor build numer replace on semver patch position, is there a chance to do that?<br>
I'm running build on windows worker</p></div>lukaszkozlowskitag:help.appveyor.com,2012-11-13:Comment/474319982019-07-12T16:38:01Z2019-07-12T16:38:01ZSemVer - i'd like to increase patch value on each build<div><p>I'm not totally clear on how you are using gitversion, but you can use environment variables in <code>version:</code> key with <code>$()</code> syntax.</p></div>Owen McDonnell