【发布时间】:2016-10-26 12:31:15
【问题描述】:
我正在尝试从 TFS 获取源版本变更集编号。我正在使用 PowerShell 脚本来添加 AssemblyInformationalVersion。我试过使用 $env:TF_BUILD SOURCEGETVERSION 但这不起作用它只是返回空白。我们将 TFS 2012 与调用 PowerShell 脚本 (http://www.colinsalmcorner.com/post/build-script-hooks-for-tfs-2012-builds) 的自定义构建模板一起使用
我真的希望将所有内容都保留在 PowerShell 脚本中
【问题讨论】:
标签: powershell tfs