如何使用 Azure Pipeline 创建新标签?

How to create a new Tag with Azure Pipeline?

我在 Azure 中有一个管道,当在 master 分支中完成提交或合并时会触发该管道。

此管道构建项目、签署应用程序并向 App Center 发布新版本。

我怎样才能在回购协议中创建一个与该发布版本和该分支关联的新标签?

抱歉,我们目前没有任何内置功能或官方任务来支持此功能。

您可以看看这个符合您需要的第 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.