Skip to content

Commit

Permalink
fix(plugins/github-release): fix publish formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Jun 9, 2024
1 parent 298e72a commit f023cbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/github-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ release() {
fi

if ${PRE_RELEASE_VERSION-}; then
echo "${RELEASE_BODY-}" | gh release create "${NEXT_RELEASE_TAG-}" --title "${NEXT_RELEASE_TAG-}" --prerelease --notes-file -
printf "%b" "${RELEASE_BODY-}" | gh release create "${NEXT_RELEASE_TAG-}" --title "${NEXT_RELEASE_TAG-}" --prerelease --notes-file -
else
echo "${RELEASE_BODY-}" | gh release create "${NEXT_RELEASE_TAG-}" --title "${NEXT_RELEASE_TAG-}" --latest --notes-file -
printf "%b" "${RELEASE_BODY-}" | gh release create "${NEXT_RELEASE_TAG-}" --title "${NEXT_RELEASE_TAG-}" --latest --notes-file -
fi
else
log "Skipped GitHub release [${NEXT_RELEASE_TAG}] in DRY-RUN mode."
Expand Down

0 comments on commit f023cbb

Please sign in to comment.