Skip to content

Commit

Permalink
fix notes
Browse files Browse the repository at this point in the history
  • Loading branch information
dvviktordelev committed Jun 5, 2024
1 parent d8d51d6 commit 47043c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ jobs:
- name: create pr
id: create-pr
run: |
PR_NOTES=$(cat pr_notes.txt)
PR_NOTES="## What's changed\n\n$(cat pr_notes.txt)"
# Create a pull request with release notes
curl -L \
-X POST \
Expand All @@ -265,7 +265,7 @@ jobs:
https://api.github.com/repos/${{ github.repository_owner }}/${{ github.event.repository.name }}/pulls \
-d "$(jq -n \
--arg title "Release ${{ env.RELEASE_VERSION }}" \
--arg body "## What's changed \\n\\n $PR_NOTES" \
--arg body "$PR_NOTES" \
--arg head "release-${{ env.RELEASE_VERSION }}" \
--arg base "main" \
--argjson draft false \
Expand Down

0 comments on commit 47043c7

Please sign in to comment.