8000 Merge pull request #4 from UiPath/feature/ssh_binaries · UiPath/libgit2sharp@f1a5e34 · GitHub
[go: up one dir, main page]

Skip to content

Commit f1a5e34

Browse files
Merge pull request #4 from UiPath/feature/ssh_binaries
Update native binaries to 0.28.2
2 parents fd9e72e + 211049e commit f1a5e34

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed
< 10000 div class="d-flex gap-2 flex-items-center">

LibGit2Sharp/Core/NativeMethods.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ static NativeMethods()
4343
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
4444
#endif
4545
{
46+
foreach(var dependency in new[] { "libcrypto-1_1.dll", "libcrypto-1_1-x64.dll", "libssh2.dll" })
47+
{
48+
var path = Path.Combine(nativeLibraryDir, dependency);
49+
if (File.Exists(path))
50+
{
51+
LoadWindowsLibrary(path);
52+
}
53+
}
4654
LoadWindowsLibrary(nativeLibraryPath);
4755
}
4856
else

LibGit2Sharp/LibGit2Sharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</ItemGroup>
3030

3131
<ItemGroup>
32-
<PackageReference Include="LibGit2Sharp.NativeBinaries" Version="0.28.1-ssh" PrivateAssets="none" />
32+
<PackageReference Include="LibGit2Sharp.NativeBinaries" Version="0.28.2" PrivateAssets="none" />
3333
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="all" />
3434
<PackageReference Include="Nerdbank.GitVersioning" Version="2.2.13" PrivateAssets="all" />
3535
</ItemGroup>

version.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "0.26.1",
3+
"version": "0.26.2",
44
"publicReleaseRefSpec": [
5-
"^refs/heads/master$", // we release out of master
5+
"^refs/heads/release$", // we release out of release
66
"^refs/heads/maint/v\\d+(?:\\.\\d+)?$" // and maint/vNN branches
77
],
88
"cloudBuild": {

0 commit comments

Comments
 (0)
0