We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8617745 + 9de105d commit 95d1083Copy full SHA for 95d1083
projects/RabbitMQ.Client/RabbitMQ.Client.csproj
@@ -28,6 +28,14 @@
28
<PackageOutputPath>..\..\packages</PackageOutputPath>
29
</PropertyGroup>
30
31
+ <Target Name="SetVersionFromPullRequest" AfterTargets="MinVer" Condition="'$(CONCOURSE_PULL_REQUEST_NUMBER)' != ''" >
32
+ <PropertyGroup>
33
+ <PackageVersion>$(MinVerMajor).$(MinVerMinor).$(MinVerPatch)-pr.$(CONCOURSE_PULL_REQUEST_NUMBER).build-id.$(CONCOURSE_BUILD_ID).$(MinVerPreRelease)</PackageVersion>
34
+ <PackageVersion Condition="'$(MinVerBuildMetadata)' != ''">$(PackageVersion)+$(MinVerBuildMetadata)</PackageVersion>
35
+ <Version>$(PackageVersion)</Version>
36
+ </PropertyGroup>
37
+ </Target>
38
+
39
<ItemGroup>
40
<Compile Include="..\..\gensrc\autogenerated-api-0-9-1.cs" />
41
<None Remove="icon.png" />
0 commit comments