Skip to content

Commit c5a6d45

Browse files
committed
1 parent e7d785d commit c5a6d45

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ jobs:
4747
- name: Retrieve tag message
4848
run: |
4949
git fetch --tags --force
50-
echo "::set-output name=release-notes::$(git tag --list ${{ steps.dotnet-pack.outputs.version }} --format='%(contents)')"
50+
RELEASE_NOTES=$(git tag --list ${{ steps.dotnet-pack.outputs.version }} --format='%(contents)')
51+
RELEASE_NOTES="${RELEASE_NOTES//'%'/'%25'}"
52+
RELEASE_NOTES="${RELEASE_NOTES//$'\n'/'%0A'}"
53+
RELEASE_NOTES="${RELEASE_NOTES//$'\r'/'%0D'}"
54+
echo "::set-output name=release-notes::$RELEASE_NOTES"
5155
id: tag-message
5256
publish:
5357
runs-on: macos-latest

0 commit comments

Comments
 (0)