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

标签 git azure azure-pipelines visual-studio-app-center

我在 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/

相关文章:

git - 当我有写访问权限时,fork repo 有什么好处吗?

Docker 容器内的 Azure CLI 登录

azure - 如何使用 Azure DevOps Rest API 创建多个文件夹

Azure Devops - 使用脚本访问拉取请求中的构建验证管道的数量

git - 如何git忽略以#号开头的文件夹

python - Heroku/python 未能检测到 set buildpack

使用本地文件的 git 版本控制

linux - 如何通过 ssh 连接到 Azure 上的 "Web App On Linux"docker 容器?

azure - 如何通过另一个逻辑应用访问Azure逻辑应用运行日志

azure-devops - VSTS 警告 : Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again