Skip to content

Commit 3a544af

Browse files
committed
upgrade LibGit2Sharp.NativeBinaries to 2.0.312 & version.json
1 parent 3c570be commit 3a544af

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/libgit2sharp.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,36 +28,36 @@ jobs:
2828
echo running on branch $(echo ${GITHUB_SHA} | cut -c1-10)
2929
dotnet pack --include-symbols -c Release LibGit2Sharp.sln
3030
ls ./bin/Packages/Release/
31-
31+
3232
- name: Short Sha
3333
id: short-sha
3434
run: echo "::set-output name=short_sha::$(echo ${GITHUB_SHA} | cut -c1-10)"
3535

3636
- name: Push generated package to GitHub registry
3737
run: dotnet nuget push ./bin/Packages/Release/LibGit2Sharp.0.27.0-preview-g${{steps.short-sha.outputs.short_sha}}.nupkg --source https://nuget.pkg.github.com/dotdevelop --api-key ${{github.token}} --skip-duplicate --no-symbols true
38-
38+
3939
- name: Create Release
4040
id: create_release
4141
uses: actions/create-release@v1
42-
env:
42+
env:
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444
with:
4545
tag_name: ${{ github.ref }}
4646
release_name: Release ${{ github.ref }}
4747
draft: true
4848
prerelease: true
4949
- name: Upload Release Asset
50-
id: upload-release-asset
50+
id: upload-release-asset
5151
uses: actions/upload-release-asset@v1
52-
env:
52+
env:
5353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5454
SHORT_SHA: ${{ steps.short-sha.outputs.short_sha }}
5555
with:
56-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
56+
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
5757
asset_path: ./bin/Packages/Release/LibGit2Sharp.0.27.0-preview-g${{steps.short-sha.outputs.short_sha}}.nupkg
5858
asset_name: LibGit2Sharp.0.27.0-preview-g${{steps.short-sha.outputs.short_sha}}.nupkg
59-
asset_content_type: application/nupkg
60-
59+
asset_content_type: application/nupkg
60+
6161
test:
6262
runs-on: ubuntu-20.04
6363

@@ -73,6 +73,6 @@ jobs:
7373
run: dotnet restore LibGit2Sharp.sln
7474
- name: Build
7575
run: dotnet build --no-restore LibGit2Sharp.sln
76-
76+
7777
- name: Test
7878
run: dotnet test --no-build --verbosity normal LibGit2Sharp.sln

LibGit2Sharp/LibGit2Sharp.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<Company>LibGit2Sharp contributors</Company>
99
<Copyright>Copyright © LibGit2Sharp contributors</Copyright>
1010
<PackageTags>libgit2 git</PackageTags>
11-
<PackageProjectUrl>https://github.com/libgit2/libgit2sharp/</PackageProjectUrl>
11+
<PackageProjectUrl>https://github.com/dotdevelop/libgit2sharp/</PackageProjectUrl>
1212
<Authors>LibGit2Sharp contributors</Authors>
1313
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1414
<EmbedUntrackedSources>true</EmbedUntrackedSources>
@@ -33,7 +33,7 @@
3333
</ItemGroup>
3434

3535
<ItemGroup>
36-
<PackageReference Include="LibGit2Sharp.NativeBinaries" Version="[2.0.305]" PrivateAssets="none" />
36+
<PackageReference Include="LibGit2Sharp.NativeBinaries" Version="[2.0.312]" PrivateAssets="none" />
3737
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="all" />
3838
<PackageReference Include="Nerdbank.GitVersioning" Version="3.4.165-alpha" PrivateAssets="all" />
3939
</ItemGroup>

version.json

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

0 commit comments

Comments
 (0)