Skip to content

Commit

Permalink
fix: quote the command to create PR in release PR action again and ag…
Browse files Browse the repository at this point in the history
…ain and again (#13)
  • Loading branch information
hatajoe authored Jan 6, 2025
1 parent f8d2aa9 commit e8f12c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/create-release-pr-for-gem/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ runs:
${{ steps.changelog.outputs.clean_changelog }}
EOF
)
ESCAPED_BODY=$(echo $BODY | sed 's/"/\\"/g')
ESCAPED_BODY=$(echo "$BODY" | sed 's/"/\\"/g')
gh pr create --title "chore: Release version to v${{ steps.changelog.outputs.version }}" --body "$ESCAPED_BODY" --base ${{ inputs.base-branch }} --head release/${{ inputs.tag-prefix }}${{ steps.changelog.outputs.version }}
shell: bash
2 changes: 1 addition & 1 deletion .github/actions/create-release-pr-for-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ runs:
${{ steps.changelog.outputs.clean_changelog }}
EOF
)
ESCAPED_BODY=$(echo $BODY | sed 's/"/\\"/g')
ESCAPED_BODY=$(echo "$BODY" | sed 's/"/\\"/g')
gh pr create --title "chore: Release version to v${{ steps.changelog.outputs.version }}" --body "$ESCAPED_BODY" --base ${{ inputs.base-branch }} --head release/${{ inputs.tag-prefix }}${{ steps.changelog.outputs.version }}
shell: bash

0 comments on commit e8f12c5

Please sign in to comment.