Skip to content

Commit f7b85b8

Browse files
committed
temporary change
Use a more verbose version for pull requests This should prevent conflicts when two PRs have the same "height" value
1 parent 8617745 commit f7b85b8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

projects/RabbitMQ.Client/RabbitMQ.Client.csproj

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,19 @@
2323
<AssemblyOriginatorKeyFile>../rabbit.snk</AssemblyOriginatorKeyFile>
2424
<SignAssembly>true</SignAssembly>
2525
<MinVerTagPrefix>v</MinVerTagPrefix>
26-
<MinVerVerbosity>minimal</MinVerVerbosity>
26+
<MinVerVerbosity>detailed</MinVerVerbosity>
2727
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
2828
<PackageOutputPath>..\..\packages</PackageOutputPath>
2929
</PropertyGroup>
3030

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+
3139
<ItemGroup>
3240
<Compile Include="..\..\gensrc\autogenerated-api-0-9-1.cs" />
3341
<None Remove="icon.png" />

0 commit comments

Comments
 (0)