比如说,我有一个版本已经是 1.0.15 的库
我将构建过程迁移到 Azure DevOps,并希望自动递增构建号。因此,在构建管道选项中,我将构建编号格式设置为1.0.$(Rev:r)
.
但现在它开始在 1.0.1 进行构建
那么我如何人为地将其增加到 15 呢?
Add a variable in your build definition like this:
And then set the Build Number Format like following:
![enter image description here](https://i.stack.imgur.com/gKqtX.png)
您将使计数器从 15 开始。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)