Skip to content

(deps): Bump LibGit2Sharp from 0.27.0-preview-0182 to 0.27.2 #3475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions build/CI.sln
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "actions", "actions", "{A9B9
..\.github\actions\docker-test\action.yml = ..\.github\actions\docker-test\action.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "scripts", "scripts", "{960DC223-117E-41DE-8A89-C85E3D69A8E8}"
ProjectSection(SolutionItems) = preProject
..\tests\scripts\test-global-tool.sh = ..\tests\scripts\test-global-tool.sh
..\tests\scripts\test-msbuild-task.sh = ..\tests\scripts\test-msbuild-task.sh
..\tests\scripts\test-native-tool.sh = ..\tests\scripts\test-native-tool.sh
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down
1 change: 1 addition & 0 deletions build/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ FROM $REGISTRY/gittools/build-images:$DISTRO-runtime-$DOTNET_VERSION

WORKDIR /tools
COPY --from=installer /tools .
RUN git config --global --add safe.directory '*'

ENTRYPOINT ["/tools/dotnet-gitversion"]
4 changes: 2 additions & 2 deletions new-cli/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="LibGit2Sharp" Version="0.27.0-preview-0182" />
<PackageVersion Include="LibGit2Sharp" Version="0.27.2" />
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.4.0" />
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
Expand All @@ -18,4 +18,4 @@
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
<PackageVersion Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
</ItemGroup>
</Project>
</Project>
2 changes: 1 addition & 1 deletion src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ItemGroup>
<PackageVersion Include="FluentDateTime" Version="2.1.0" />
<PackageVersion Include="JsonSchema.Net.Generation" Version="3.1.0" />
<PackageVersion Include="LibGit2Sharp" Version="0.27.0-preview-0182" />
<PackageVersion Include="LibGit2Sharp" Version="0.27.2" />
<PackageVersion Include="JetBrains.Annotations" Version="2022.3.1" />
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="17.5.0" />
<PackageVersion Include="Microsoft.Build" Version="17.5.0" />
Expand Down
1 change: 1 addition & 0 deletions tests/scripts/test-global-tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ do
shift
done

git config --global --add safe.directory '*'
result=$(dotnet tool install GitVersion.Tool --version $version --tool-path /tools --add-source $nugetPath) # >/dev/null
status=$?
if test $status -eq 0
Expand Down
1 change: 1 addition & 0 deletions tests/scripts/test-msbuild-task.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ do
shift
done

git config --global --add safe.directory '*'
result=$(dotnet build $repoPath --source $nugetPath --source https://api.nuget.org/v3/index.json -p:GitVersionMsBuildVersion=$version -p:TargetFrameworks=$targetframework) # >/dev/null
status=$?
if test $status -eq 0
Expand Down
3 changes: 2 additions & 1 deletion tests/scripts/test-native-tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ do
shift
done

git config --global --add safe.directory '*'
result=$(tar -xvpf /native/gitversion-$runtime-$version.tar.gz -C /native) # >/dev/null
status=$?
if test $status -eq 0
then
/native/gitversion $repoPath /showvariable FullSemver;
else
echo $result
fi
fi