File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed
src/Nerdbank.GitVersioning.Tasks Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 38
38
<EmbedUntrackedSources >true</EmbedUntrackedSources >
39
39
</PropertyGroup >
40
40
41
- <PropertyGroup >
42
- <!-- LibGit2Sharp Native Binary version - used in both main project and Cake addin -->
43
- <LibGit2SharpNativeVersion >2.0.315-alpha.0.9</LibGit2SharpNativeVersion >
44
- </PropertyGroup >
45
41
<ItemGroup >
46
42
<None Include =" $(MSBuildThisFileDirectory)3rdPartyNotices.txt" Pack =" true" PackagePath =" " />
47
43
</ItemGroup >
Original file line number Diff line number Diff line change 6
6
<BenchmarkDotNetVersion >0.13.5</BenchmarkDotNetVersion >
7
7
<MSBuildPackageVersion >16.9.0</MSBuildPackageVersion >
8
8
<MSBuildPackageVersion Condition =" '$(IsTestProject)'=='true'" >15.9.20</MSBuildPackageVersion >
9
+ <!-- LibGit2Sharp Native Binary version - used in both main project and Cake addin -->
10
+ <LibGit2SharpNativeVersion >2.0.320</LibGit2SharpNativeVersion >
9
11
</PropertyGroup >
10
12
<ItemGroup >
11
13
<PackageVersion Include =" BenchmarkDotNet.Diagnostics.Windows" Version =" $(BenchmarkDotNetVersion)" />
12
14
<PackageVersion Include =" BenchmarkDotNet" Version =" $(BenchmarkDotNetVersion)" />
13
15
<PackageVersion Include =" Cake.Core" Version =" 3.0.0" />
14
16
<PackageVersion Include =" DotNetMDDocs" Version =" 0.112.39" />
15
17
<PackageVersion Include =" LibGit2Sharp" Version =" 0.27.2" />
18
+ <PackageVersion Include =" LibGit2Sharp.NativeBinaries" Version =" $(LibGit2SharpNativeVersion)" />
16
19
<PackageVersion Include =" Microsoft.Build.Framework" Version =" $(MSBuildPackageVersion)" />
17
20
<PackageVersion Include =" Microsoft.Build.Locator" Version =" 1.5.5" />
18
21
<PackageVersion Include =" Microsoft.Build.Tasks.Core" Version =" $(MSBuildPackageVersion)" />
Original file line number Diff line number Diff line change 2
2
<Target Name =" SetNuSpecProperties" BeforeTargets =" GenerateNuspec" DependsOnTargets =" GetBuildVersion" >
3
3
<PropertyGroup >
4
4
<LibGit2SharpNativeBinaries >$(NuGetPackageRoot)libgit2sharp.nativebinaries\$(LibGit2SharpNativeVersion)\</LibGit2SharpNativeBinaries >
5
- <NuspecProperties >$(NuspecProperties);Version=$(Version);commit=$(GitCommitId);BaseOutputPath=$(OutputPath);LibGit2SharpNativeBinaries=$(LibGit2SharpNativeBinaries)</NuspecProperties >
5
+ <NuspecProperties >$(NuspecProperties);Version=$(Version);commit=$(GitCommitId);BaseOutputPath=$(OutputPath);LibGit2SharpNativeBinaries=$(LibGit2SharpNativeBinaries);libgit2_filename=$(libgit2_filename) </NuspecProperties >
6
6
<NuspecProperties Condition =" '$(PackLKG)' == 'true' " >$(NuspecProperties);LKGSuffix=.LKG</NuspecProperties >
7
7
</PropertyGroup >
8
8
</Target >
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ IMPORTANT: The 3.x release may produce a different version height than prior maj
32
32
<file src =" $LibGit2SharpNativeBinaries$runtimes\**" target =" build\runtimes\" />
33
33
34
34
<!-- Additional copies to work around DllNotFoundException on Mono (https://github.com/dotnet/Nerdbank.GitVersioning/issues/222) -->
35
- <file src =" $LibGit2SharpNativeBinaries$runtimes\osx-x64\native\libgit2-b7bad55 .dylib" target =" build\MSBuildFull\lib\osx-x64\libgit2-b7bad55 .dylib" />
36
- <file src =" $LibGit2SharpNativeBinaries$runtimes\osx-arm64\native\libgit2-b7bad55 .dylib" target =" build\MSBuildFull\lib\osx-arm64\libgit2-b7bad55 .dylib" />
37
- <file src =" $LibGit2SharpNativeBinaries$runtimes\linux-x64\native\libgit2-b7bad55 .so" target =" build\MSBuildFull\lib\linux-x64\libgit2-b7bad55 .so" />
35
+ <file src =" $LibGit2SharpNativeBinaries$runtimes\osx-x64\native\lib$libgit2_filename$ .dylib" target =" build\MSBuildFull\lib\osx-x64\lib$libgit2_filename$ .dylib" />
36
+ <file src =" $LibGit2SharpNativeBinaries$runtimes\osx-arm64\native\lib$libgit2_filename$ .dylib" target =" build\MSBuildFull\lib\osx-arm64\lib$libgit2_filename$ .dylib" />
37
+ <file src =" $LibGit2SharpNativeBinaries$runtimes\linux-x64\native\lib$libgit2_filename$ .so" target =" build\MSBuildFull\lib\linux-x64\lib$libgit2_filename$ .so" />
38
38
39
39
<file src =" $LibGit2SharpNativeBinaries$libgit2\LibGit2Sharp.dll.config" target =" build\MSBuildCore\LibGit2Sharp.dll.config" />
40
40
<file src =" $BaseOutputPath$net6.0\LibGit2Sharp.dll" target =" build\MSBuildCore\LibGit2Sharp.dll" />
You can’t perform that action at this time.
0 commit comments