diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1bf9166..1138b0c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -181,8 +181,10 @@ jobs: echo "Commits analyzed: Breaking=$BREAKING, Features=$FEAT, Fixes=$FIX" # Set output for later steps (using heredoc for multi-line) + # Use random delimiter to avoid collision if content contains 'EOF' + WARN_DELIM=$(openssl rand -hex 16) { - echo "warning<\`" echo "" echo "**This tag will be automatically deleted in the next step.**" - echo "EOF" + echo "${WARN_DELIM}" } >> $GITHUB_OUTPUT else echo "✓ Version bump looks appropriate for the changes" @@ -242,10 +244,12 @@ jobs: echo "title=$TITLE" >> $GITHUB_OUTPUT # Output for GitHub Actions + # Use random delimiter to avoid collision if release notes contain 'EOF' + NOTES_DELIM=$(openssl rand -hex 16) { - echo 'notes<> $GITHUB_OUTPUT - name: Create GitHub Release