Skip to content

Commit c0ab6c7

Browse files
Merge branch 'hotfix-1.1.4'
2 parents 33b8d0f + 9fbaf46 commit c0ab6c7

File tree

16 files changed

+84
-25
lines changed

16 files changed

+84
-25
lines changed

buildsupport/GitVersionTask/Build/GitVersionTask.targets

Lines changed: 50 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,46 +3,73 @@
33
<PropertyGroup>
44
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)..\</SolutionDir>
55
</PropertyGroup>
6+
<PropertyGroup>
7+
<GitVersionAppendRevision Condition="$(GitVersionAppendRevision) == '' Or $(GitVersionAppendRevision) == '*Undefined*'">false</GitVersionAppendRevision>
8+
</PropertyGroup>
69

710
<UsingTask
811
TaskName="GitVersionTask.UpdateAssemblyInfo"
912
AssemblyFile="$(MSBuildThisFileDirectory)..\GitVersionTask.dll" />
13+
<UsingTask
14+
TaskName="GitVersionTask.GetVersion"
15+
AssemblyFile="$(MSBuildThisFileDirectory)..\GitVersionTask.dll" />
1016
<UsingTask
1117
TaskName="GitVersionTask.WriteVersionInfoToBuildLog"
1218
AssemblyFile="$(MSBuildThisFileDirectory)..\GitVersionTask.dll" />
1319

14-
<Target Name="UpdateAssemblyInfo"
15-
BeforeTargets="CoreCompile">
16-
<WriteVersionInfoToBuildLog
17-
SolutionDirectory="$(SolutionDir)"
20+
<Target Name="UpdateAssemblyInfo"
21+
BeforeTargets="CoreCompile">
22+
<WriteVersionInfoToBuildLog
23+
SolutionDirectory="$(SolutionDir)"
1824
/>
19-
<UpdateAssemblyInfo
20-
SolutionDirectory="$(SolutionDir)"
21-
AssemblyName="$(AssemblyName)"
22-
ProjectFile="$(ProjectPath)"
23-
SignAssembly="$(SignAssembly)"
24-
CompileFiles ="@(Compile)">
25-
<Output
26-
TaskParameter="AssemblyInfoTempFilePath"
27-
PropertyName="AssemblyInfoTempFilePath" />
28-
</UpdateAssemblyInfo>
29-
30-
<ItemGroup>
31-
<Compile Include="$(AssemblyInfoTempFilePath)" />
32-
</ItemGroup>
33-
</Target>
25+
<UpdateAssemblyInfo
26+
SolutionDirectory="$(SolutionDir)"
27+
ProjectFile="$(ProjectPath)"
28+
AppendRevision="$(GitVersionAppendRevision)"
29+
CompileFiles ="@(Compile)">
30+
<Output
31+
TaskParameter="AssemblyInfoTempFilePath"
32+
PropertyName="AssemblyInfoTempFilePath" />
33+
</UpdateAssemblyInfo>
34+
35+
<ItemGroup>
36+
<Compile Include="$(AssemblyInfoTempFilePath)" />
37+
</ItemGroup>
38+
39+
40+
<GetVersion SolutionDirectory="$(SolutionDir)">
41+
<Output TaskParameter="Major" PropertyName="GfvMajor" />
42+
<Output TaskParameter="Minor" PropertyName="GfvMinor" />
43+
<Output TaskParameter="Patch" PropertyName="GfvPatch" />
44+
<Output TaskParameter="BuildMetaData" PropertyName="GfvBuildMetaData" />
45+
<Output TaskParameter="FullBuildMetaData" PropertyName="GfvFullBuildMetaData" />
46+
<Output TaskParameter="BranchName" PropertyName="GfvBranchName" />
47+
<Output TaskParameter="Sha" PropertyName="GfvSha" />
48+
<Output TaskParameter="MajorMinorPatch" PropertyName="GfvMajorMinorPatch" />
49+
<Output TaskParameter="SemVer" PropertyName="GfvSemVer" />
50+
<Output TaskParameter="LegacySemVer" PropertyName="GfvLegacySemVer" />
51+
<Output TaskParameter="LegacySemVerPadded" PropertyName="GfvLegacySemVerPadded" />
52+
<Output TaskParameter="FullSemVer" PropertyName="GfvFullSemVer" />
53+
<Output TaskParameter="AssemblySemVer" PropertyName="GfvAssemblySemVer" />
54+
<Output TaskParameter="ClassicVersion" PropertyName="GfvClassicVersion" />
55+
<Output TaskParameter="ClassicVersionWithTag" PropertyName="GfvClassicVersionWithTag" />
56+
<Output TaskParameter="PreReleaseTag" PropertyName="GfvPreReleaseTag" />
57+
<Output TaskParameter="PreReleaseTagWithDash" PropertyName="GfvPreReleaseTagWithDash" />
58+
<Output TaskParameter="InformationalVersion" PropertyName="GfvInformationalVersion" />
59+
<Output TaskParameter="AssemblyVersion" PropertyName="GfvAssemblyVersion" />
60+
<Output TaskParameter="AssemblyFileVersion" PropertyName="GfvAssemblyFileVersion" />
61+
<Output TaskParameter="OriginalRelease" PropertyName="GfvOriginalRelease" />
62+
</GetVersion>
63+
64+
</Target>
3465

3566
<!--Support for ncrunch-->
3667
<ItemGroup>
3768
<None Include="$(MSBuildThisFileDirectory)..\GitVersionTask.dll" />
3869
<None Include="$(MSBuildThisFileDirectory)..\GitVersionTask.pdb" />
39-
<None Include="$(MSBuildThisFileDirectory)..\GitVersion.exe" />
40-
<None Include="$(MSBuildThisFileDirectory)..\GitVersion.pdb" />
41-
<None Include="$(MSBuildThisFileDirectory)..\LibGit2Sharp.dll" />
4270
<None Include="$(MSBuildThisFileDirectory)..\NativeBinaries\**\*" />
4371
</ItemGroup>
4472

45-
4673
</Project>
4774

4875

-57 KB
Binary file not shown.
372 KB
Binary file not shown.
-284 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-657 KB
Binary file not shown.
703 KB
Binary file not shown.

packaging/nuget/NServiceBus.RabbitMQ.nuspec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
44
<id>NServiceBus.RabbitMQ</id>
55
<title>NServiceBus RabbitMQ</title>
6-
<version>4.0.0-alpha0</version>
6+
<version>$version$</version>
77
<authors>NServiceBus Ltd</authors>
88
<owners>Udi Dahan, Andreas Ohlund, John Simons</owners>
99
<licenseUrl>http://particular.net/LicenseAgreement</licenseUrl>
@@ -16,6 +16,9 @@
1616
<copyright>Copyright 2010-2013 NServiceBus. All rights reserved</copyright>
1717
<tags>nservicebus servicebus msmq cqrs publish subscribe</tags>
1818
<dependencies>
19+
<dependency id="NServiceBus" version="[4.4.2.0, 5.0.0.0)" />
20+
<dependency id="NServiceBus.Interfaces" version="[4.4.2.0, 5.0.0.0)" />
21+
<dependency id="RabbitMQ.Client" version="[3.2.1.0, 4.0.0.0)" />
1922
</dependencies>
2023
</metadata>
2124
<files>

ripple.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<ripple xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2+
<ripple xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
33
<Name>NServiceBus.RabbitMQ</Name>
44
<NugetSpecFolder>packaging/nuget</NugetSpecFolder>
55
<SourceFolder>src</SourceFolder>

0 commit comments

Comments
 (0)