在版本之后命名发布 [英] Naming releases after version

查看:90
本文介绍了在版本之后命名发布的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我目前正在构建和部署一些项目的VSO,我在商店中找到了一个可以将json加载到自定义变量中的扩展,这让我找到了当前版本并将其用于压缩等。


但是当我进入构建和发布的概述时,很难看到哪个版本部署到每个环境,因为它们被命名基于日期和修订。有没有办法在构建/发布名称中使用我的自定义变量?


所以而不是"Release - $(rev:r)"我想要像"$(custom_version) - $(rev:r)"这样的东西。所以我可以很容易地发现哪个版本在什么环境下?


最好的问候
$ b $bSøren

解决方案

嗨Søren


查看
版本管理中的变量


如果你可以使用任何预定义的变量填充了构建中的信息。


定义的可用变量版本名称可以在这里找到:
版本管理中的版本定义




Hi,

I am currently VSO to build and deploy some projects, and I found a extension in the store that can load json into custom variables, which lets me find the current version and use it for zipping etc.

But when I go to the overview of builds and releases, it is quite hard to see which version is deployed to each environment as they are named based on date and revision. Is there a way to use my custom variables in the build/release names?

So instead of "Release-$(rev:r)" I would like something like "$(custom_version)-$(rev:r)" so I can easily spot which version is on what environment?

Best Regards
Søren

解决方案

hi Søren

look at Variables in Release Management

if you can use any of the predefined variables filled with infos from the build.

the available variables for definition Release Name can be found here: Release definitions in Release Management


这篇关于在版本之后命名发布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆