Skip to content
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
9 changes: 2 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ jobs:

- name: Build & Test
run: |
# Workaround for https://github.com/GitTools/GitVersion/issues/2838
if [[ $GITHUB_REF_TYPE == tag ]]; then
echo Unsetting GITHUB_REF
unset GITHUB_REF
fi
dotnet test --configuration Release
dotnet pack --no-restore --configuration Release

Expand Down Expand Up @@ -63,8 +58,8 @@ jobs:

- name: Release & Publish to nuget.org
run: |
echo 'Creating Release ${{ env.GitVersion_SemVer }}'
gh release create '${{ env.GitVersion_SemVer }}' ./nuget/* --target '${{ github.sha }}' --generate-notes
echo 'Creating Release ${{ github.ref_name }}'
gh release create '${{ github.ref_name }}' ./nuget/* --target '${{ github.sha }}' --generate-notes
dotnet nuget push "nuget/*.nupkg" --api-key "${{ steps.nuget-login.outputs.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<!-- Common references for all projects -->
<ItemGroup>
<PackageReference Include="GitVersion.MsBuild">
<PackageReference Include="MinVer">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</PropertyGroup>

<ItemGroup>
<PackageVersion Include="GitVersion.MsBuild" Version="5.8.1" />
<PackageVersion Include="MinVer" Version="7.0.0" />
<PackageVersion Include="xunit.v3" Version="3.2.2" />
</ItemGroup>
</Project>
1 change: 0 additions & 1 deletion GitVersion.yml

This file was deleted.

8 changes: 4 additions & 4 deletions src/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"version": 2,
"dependencies": {
".NETStandard,Version=v2.0": {
"GitVersion.MsBuild": {
"MinVer": {
"type": "Direct",
"requested": "[5.8.1, )",
"resolved": "5.8.1",
"contentHash": "WR+50tZK/ZO51RhcNObEZyIN+b7jt6YQOnUdrnkDhi+kPWm00TLXIUci2hGIgE617iaWdkbmkleBbIFwPhH0oQ=="
"requested": "[7.0.0, )",
"resolved": "7.0.0",
"contentHash": "2lMTCQl5bGP4iv0JNkockPnyllC6eHLz+CoK2ICvalvHod+exXSxueu9hq+zNkU7bZBJf8wMfeRC/Edn8AGmEg=="
},
"NETStandard.Library": {
"type": "Direct",
Expand Down
8 changes: 4 additions & 4 deletions tests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"version": 2,
"dependencies": {
"net10.0": {
"GitVersion.MsBuild": {
"MinVer": {
"type": "Direct",
"requested": "[5.8.1, )",
"resolved": "5.8.1",
"contentHash": "WR+50tZK/ZO51RhcNObEZyIN+b7jt6YQOnUdrnkDhi+kPWm00TLXIUci2hGIgE617iaWdkbmkleBbIFwPhH0oQ=="
"requested": "[7.0.0, )",
"resolved": "7.0.0",
"contentHash": "2lMTCQl5bGP4iv0JNkockPnyllC6eHLz+CoK2ICvalvHod+exXSxueu9hq+zNkU7bZBJf8wMfeRC/Edn8AGmEg=="
},
"xunit.v3": {
"type": "Direct",
Expand Down