From b149c246ac62afb4c8d7a40bc72241e313421d84 Mon Sep 17 00:00:00 2001 From: John Korsnes Date: Thu, 4 Feb 2021 16:21:09 +0100 Subject: [PATCH] Always major.minor.patch in release.yml --- .github/workflows/Release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index d5d06d8..6149477 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -32,9 +32,9 @@ jobs: with: useConfigFile: true - name: Pack - run: dotnet pack --no-build /p:Version=${{ steps.gitversion.outputs.NuGetVersionV2 }} /p:InformationalVersion=${{ steps.gitversion.outputs.informationalVersion }} /p:PackageReleaseNotes="https://github.com/johnkors/NoCommonsNET/releases/tag/${{ steps.gitversion.outputs.NuGetVersionV2 }}" -o ./releases + run: dotnet pack --no-build /p:Version=${{ steps.gitversion.outputs.majorMinorPatch }} /p:InformationalVersion=${{ steps.gitversion.outputs.informationalVersion }} /p:PackageReleaseNotes="https://github.com/johnkors/NoCommonsNET/releases/tag/${{ steps.gitversion.outputs.NuGetVersionV2 }}" -o ./releases - name: Publish - run: dotnet nuget push ./releases/NoCommons.${{ steps.gitversion.outputs.NuGetVersionV2 }}.nupkg -k=${{ secrets.NUGETORGAPIKEY }} -s=nuget.org + run: dotnet nuget push ./releases/NoCommons.${{ steps.gitversion.outputs.majorMinorPatch }}.nupkg -k=${{ secrets.NUGETORGAPIKEY }} -s=nuget.org - run: git log $(git describe --tags --abbrev=0)..HEAD --oneline - name: Log commit messages since last release id: releasenotes