我在 Azure 中有一个管道,当在主分支中完成提交或 merge 时会触发该管道。
此管道构建项目、签署应用并向应用中心发布新版本。
如何在存储库中创建与该发布版本和该分支关联的新标签?
最佳答案
抱歉,我们目前没有任何内置功能或官方任务来支持此功能。
您可以看看这个第 3 方扩展 -- Tag\Branch Git on Release适合您的需求:
This is an Azure DevOps plugin that will git tag or branch artifact source code with the release name. This makes it very easy to patch in the future if needed.
When the task runs it finds all linked artifacts that originated from a TfsGit source repo and tags or branches them with the release name. This is meant to be super simple. Just drop in your release pipeline and go.
关于git - 如何使用Azure Pipeline创建新标签?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60779464/