File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,19 +82,21 @@ Push-Location $libgit2Directory
8282
8383 Pop-Location
8484
85- sc - Encoding ASCII (Join-Path $projectDirectory " nuget.package\libgit2\libgit2_hash.txt" ) $sha
86-
8785 if (! [string ]::IsNullOrEmpty($libgit2Name )) {
8886 $binaryFilename = $libgit2Name
8987 } else {
9088 $binaryFilename = " git2-" + $sha.Substring (0 , 7 )
9189 }
9290
91+ sc - Encoding ASCII (Join-Path $projectDirectory " nuget.package\libgit2\libgit2_hash.txt" ) $sha
92+ sc - Encoding ASCII (Join-Path $projectDirectory " nuget.package\libgit2\libgit2_filename.txt" ) $binaryFilename
93+
9394 $buildProperties = @"
9495<?xml version="1.0" encoding="utf-8"?>
9596<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
9697 <ItemGroup>
9798 <EmbeddedResource Include="`$ (MSBuildThisFileDirectory)\..\libgit2\libgit2_hash.txt" />
99+ <EmbeddedResource Include="`$ (MSBuildThisFileDirectory)\..\libgit2\libgit2_filename.txt" />
98100 </ItemGroup>
99101 <ItemGroup>
100102 <None Condition="Exists('`$ (MSBuildThisFileDirectory)\..\libgit2\windows\amd64\$binaryFilename .dll')" Include="`$ (MSBuildThisFileDirectory)\..\libgit2\windows\amd64\$binaryFilename .dll">
Original file line number Diff line number Diff line change 1+ git2-4d6362b
You can’t perform that action at this time.
0 commit comments