Skip to content

Commit a41a43a

Browse files
authored
Merge pull request #3475 from GitTools/dependabot/nuget/LibGit2Sharp-0.27.2
(deps): Bump LibGit2Sharp from 0.27.0-preview-0182 to 0.27.2
2 parents 2777d74 + e2ae33a commit a41a43a

File tree

7 files changed

+15
-4
lines changed

7 files changed

+15
-4
lines changed

build/CI.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "actions", "actions", "{A9B9
4848
..\.github\actions\docker-test\action.yml = ..\.github\actions\docker-test\action.yml
4949
EndProjectSection
5050
EndProject
51+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "scripts", "scripts", "{960DC223-117E-41DE-8A89-C85E3D69A8E8}"
52+
ProjectSection(SolutionItems) = preProject
53+
..\tests\scripts\test-global-tool.sh = ..\tests\scripts\test-global-tool.sh
54+
..\tests\scripts\test-msbuild-task.sh = ..\tests\scripts\test-msbuild-task.sh
55+
..\tests\scripts\test-native-tool.sh = ..\tests\scripts\test-native-tool.sh
56+
EndProjectSection
57+
EndProject
5158
Global
5259
GlobalSection(SolutionConfigurationPlatforms) = preSolution
5360
Debug|Any CPU = Debug|Any CPU

build/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ FROM $REGISTRY/gittools/build-images:$DISTRO-runtime-$DOTNET_VERSION
1515

1616
WORKDIR /tools
1717
COPY --from=installer /tools .
18+
RUN git config --global --add safe.directory '*'
1819

1920
ENTRYPOINT ["/tools/dotnet-gitversion"]

new-cli/Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageVersion Include="LibGit2Sharp" Version="0.27.0-preview-0182" />
6+
<PackageVersion Include="LibGit2Sharp" Version="0.27.2" />
77
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" />
88
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.4.0" />
99
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
@@ -18,4 +18,4 @@
1818
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
1919
<PackageVersion Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
2020
</ItemGroup>
21-
</Project>
21+
</Project>

src/Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ItemGroup>
66
<PackageVersion Include="FluentDateTime" Version="2.1.0" />
77
<PackageVersion Include="JsonSchema.Net.Generation" Version="3.1.0" />
8-
<PackageVersion Include="LibGit2Sharp" Version="0.27.0-preview-0182" />
8+
<PackageVersion Include="LibGit2Sharp" Version="0.27.2" />
99
<PackageVersion Include="JetBrains.Annotations" Version="2022.3.1" />
1010
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="17.5.0" />
1111
<PackageVersion Include="Microsoft.Build" Version="17.5.0" />

tests/scripts/test-global-tool.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ do
1616
shift
1717
done
1818

19+
git config --global --add safe.directory '*'
1920
result=$(dotnet tool install GitVersion.Tool --version $version --tool-path /tools --add-source $nugetPath) # >/dev/null
2021
status=$?
2122
if test $status -eq 0

tests/scripts/test-msbuild-task.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ do
1919
shift
2020
done
2121

22+
git config --global --add safe.directory '*'
2223
result=$(dotnet build $repoPath --source $nugetPath --source https://api.nuget.org/v3/index.json -p:GitVersionMsBuildVersion=$version -p:TargetFrameworks=$targetframework) # >/dev/null
2324
status=$?
2425
if test $status -eq 0

tests/scripts/test-native-tool.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ do
1616
shift
1717
done
1818

19+
git config --global --add safe.directory '*'
1920
result=$(tar -xvpf /native/gitversion-$runtime-$version.tar.gz -C /native) # >/dev/null
2021
status=$?
2122
if test $status -eq 0
2223
then
2324
/native/gitversion $repoPath /showvariable FullSemver;
2425
else
2526
echo $result
26-
fi
27+
fi

0 commit comments

Comments
 (0)