具有master和develop分支的单一版本定义 [英] Single release definition with master and develop branch
问题描述
我们所有的git回购都有af master和 develop分支。
All our git repos is having af master and develop branch.
master用于生产版本
master is used for production releases
使用develop对于dev版本
develop is used for dev releases
但是如何创建单个版本定义并将所有我在master分支中的构建推送到prod env。并将dev构建推送到dev env.?
But how is possible to create a single release definition and have all my builds in master branch pushed to prod env., and dev builds pushed to dev env.?
/ pajzodk
/pajzodk
推荐答案
你好,
感谢您与Microsoft论坛联系。我们很乐意回答您的问题。
Just澄清一下,您使用的是VSTS吗?
由于此论坛与VSTS查询有关,请告诉我们,如果您不使用VSTS,我们会将其移至适当的论坛。
如果您使用的是VSTS有了GIT,我建议你,查看这个链接;
http://www.clemensreijnen.nl/post/2016/07/11/101-Setup-configure-and-work-with-GIT-VSTS-Build-and-Release。
如果你想使用VSTS ,你可以参考这个链接:
https://www.visualstudio.com/en-us/docs/release/author-release-definition/more-release-definition
问候,
Swikruti
Regards,
Swikruti
这篇关于具有master和develop分支的单一版本定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!