Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to manually start $(Rev:r) counter from specific number?

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?

like image 226
Inrego Avatar asked Oct 05 '18 10:10

Inrego


1 Answers

Add a variable in your build definition like this: enter image description here And then set the Build Number Format like following: enter image description here

You will get the counter to start from 15.

like image 168
Eddie Chen - MSFT Avatar answered Nov 04 '22 21:11

Eddie Chen - MSFT