TFS 2010: How to produce a changelog (ie. list of work items) between two releases of the application using labels?

后端 未结 4 1742
生来不讨喜
生来不讨喜 2020-12-24 04:05

I\'m looking for a way to automatically produce a changelog (actually a list of workitems) between two releases of my application. I have two versions of my application, v1

4条回答
  •  再見小時候
    2020-12-24 04:22

    This question got me closer to solving a similar problem I was having.

    Use the type LabelVersionSpec instead of VersionSpec for label versions.

    Replace:

    VersionSpec sFrom = VersionSpec.ParseSingleSpec("LLABEL1", null);
    VersionSpec sTo = VersionSpec.ParseSingleSpec("LLABEL2", null);
    

    with:

    LabelVersionSpec sFrom = new LabelVersionSpec("LLABEL1");
    LabelVersionSpec sTo = new LabelVersionSpec("LLABEL2");
    

提交回复
热议问题