Say, I have a library which is already version 1.0.15
I migrate my build process to Azure DevOps, and want auto increment of build number. So in the build pipeline options, I set Build number format to 1.0.$(Rev:r)
.
But now it starts making builds at 1.0.1
So how do I artificially increment this to 15?
Add a variable in your build definition like this: And then set the Build Number Format like following:
You will get the counter to start from 15.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With