Skip to content

Commit e84d5c4

Browse files
committed
fix(ci): replace heredoc with printf in release workflow
1 parent 7a53711 commit e84d5c4

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,7 @@ jobs:
125125
git commit -m "chore: update gs-stack-status to ${VERSION}"
126126
git push -u origin "$BRANCH"
127127
128-
cat > /tmp/pr-body.md <<BODY_EOF
129-
Automated formula update from gs-stack-status release
130-
131-
**Release:** ${RELEASE_URL}
132-
**Workflow:** ${JOB_URL}
133-
BODY_EOF
128+
printf 'Automated formula update from gs-stack-status release\n\n**Release:** %s\n**Workflow:** %s\n' "$RELEASE_URL" "$JOB_URL" > /tmp/pr-body.md
134129
135130
PR_URL=$(gh pr create \
136131
--title "chore: update gs-stack-status to ${VERSION}" \

0 commit comments

Comments
 (0)