Skip to content

Commit

Permalink
Retrieve tag message on macOS only
Browse files Browse the repository at this point in the history
The publish job is run on macOS only and this specific syntax fails on PowerShell when running on Windows.
  • Loading branch information
0xced committed Feb 5, 2021
1 parent c5a6d45 commit 3f6f567
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
name: ${{ steps.dotnet-pack.outputs.nupkg-filename }}
path: ${{ steps.dotnet-pack.outputs.nupkg-filename }}
- name: Retrieve tag message
if: matrix.os == 'macos-latest'
run: |
git fetch --tags --force
RELEASE_NOTES=$(git tag --list ${{ steps.dotnet-pack.outputs.version }} --format='%(contents)')
Expand Down

0 comments on commit 3f6f567

Please sign in to comment.