Skip to content

Commit 5684b24

Browse files
committed
Increase verbosity for setting pull request package info
This is to test versioning of packages on myget PreRelease should come after patch for sorting Add version message
1 parent eb48e2d commit 5684b24

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

projects/RabbitMQ.Client/RabbitMQ.Client.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@
2828
<PackageOutputPath>..\..\packages</PackageOutputPath>
2929
</PropertyGroup>
3030

31-
<Target Name="SetVersionFromPullRequest" AfterTargets="MinVer" Condition="'$(CONCOURSE_PULL_REQUEST_NUMBER)' != ''" >
31+
<Target Name="SetVersionFromConcourseData" AfterTargets="MinVer" Condition="'$(CONCOURSE_PULL_REQUEST_NUMBER)' != ''" >
3232
<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>
3434
<PackageVersion Condition="'$(MinVerBuildMetadata)' != ''">$(PackageVersion)+$(MinVerBuildMetadata)</PackageVersion>
3535
<Version>$(PackageVersion)</Version>
3636
</PropertyGroup>
37+
<Message Importance="normal" Text="SetVersionFromConcourseData: PackageVersion=$(PackageVersion) Version=$(Version)" />
3738
</Target>
3839

3940
<ItemGroup>

0 commit comments

Comments
 (0)