diff --git a/.github/workflows/create_release_test.yml b/.github/workflows/create_release_test.yml index a0e7104..cd7a1ed 100644 --- a/.github/workflows/create_release_test.yml +++ b/.github/workflows/create_release_test.yml @@ -16,7 +16,7 @@ jobs: - name: Escape version run: echo "ESCAPED_VERSION=$(echo "${{ vars.TEST_VERSION }}" | sed 's/[^^]/[&]/g; s/\^/\\^/g')" >> $GITHUB_ENV - name: Parse release notes - run: (grep -Pzo '(?<=### v${{ env.ESCAPED_VERSION }}\n)\X+(?=\n\n)' ../README.md) > release_notes.txt + run: (grep -Pzo '(?<=### v${{ env.ESCAPED_VERSION }}\n)\X+(?=\n\n)' ../README.md) | tr -d '\0' > release_notes.txt - name: Create release uses: actions/create-release@latest env: