File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 28
28
<PackageOutputPath >..\..\packages</PackageOutputPath >
29
29
</PropertyGroup >
30
30
31
- <Target Name =" SetVersionFromPullRequest " AfterTargets =" MinVer" Condition =" '$(CONCOURSE_PULL_REQUEST_NUMBER)' != ''" >
31
+ <Target Name =" SetVersionFromConcourseData " AfterTargets =" MinVer" Condition =" '$(CONCOURSE_PULL_REQUEST_NUMBER)' != ''" >
32
32
<PropertyGroup >
33
- <PackageVersion >$(MinVerMajor).$(MinVerMinor).$(MinVerPatch)-pr.$(CONCOURSE_PULL_REQUEST_NUMBER).build-id .$(CONCOURSE_BUILD_ID).$(MinVerPreRelease )</PackageVersion >
33
+ <PackageVersion >$(MinVerMajor).$(MinVerMinor).$(MinVerPatch)-$(MinVerPreRelease)-pr .$(CONCOURSE_PULL_REQUEST_NUMBER )</PackageVersion >
34
34
<PackageVersion Condition =" '$(MinVerBuildMetadata)' != ''" >$(PackageVersion)+$(MinVerBuildMetadata)</PackageVersion >
35
35
<Version >$(PackageVersion)</Version >
36
36
</PropertyGroup >
37
+ <Message Importance =" normal" Text =" SetVersionFromConcourseData: PackageVersion=$(PackageVersion) Version=$(Version)" />
37
38
</Target >
38
39
39
40
<ItemGroup >
You can’t perform that action at this time.
0 commit comments