Skip to content

Commit

Permalink
Always major.minor.patch in release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkors committed Feb 4, 2021
1 parent ca0f878 commit b149c24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b149c24

Please sign in to comment.