TFS通过分支构建vNext版本控制

TFS通过分支构建vNext版本控制

本文介绍了TFS通过分支构建vNext版本控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我使用TFS作为存储库,并且对于每个活动分支,我们都有一组在它们之间具有不同版本的构建,因此,我们可以随时从MAIN升级到DEV安装,但不能以其他方式升级。


示例:


分支主页


BuildA - 1.0.0.0

BuildB - 1.0.0.0


分支DEV:


BuildA - 1.0.1.0

BuildB - 1.0.1.0



现在,我们正在考虑转向GIT,并且TFS vNext中有一个机会可以针对不同的分支进行独特的构建和编译。但我似乎无法找到一个简单的解决方案,在它们之间拥有独特的构建和不同的版本。


我如何实现这一目标?你们有更好的解决方案吗?不需要这个吗?

解决方案




Currently  I use TFS as Repository, and for every active branch we have a set of builds with different versioning between them so, at any moment we can upgrade from MAIN to DEV installations but not the other way.

Example:

Branch Main:

BuildA - 1.0.0.0
BuildB - 1.0.0.0

Branch DEV:

BuildA - 1.0.1.0
BuildB - 1.0.1.0

Now, we are thinking moving to GIT, and there is an oportunity in TFS vNext to have a unique build and compile against different branches. But I can't seem to find a simple solution to have unique builds and different versions between them.

How can I achieve this? Do you guys have a better solution to not needing this?

解决方案




这篇关于TFS通过分支构建vNext版本控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 11:53