diff --git a/.github/workflows/create_nightly_release.yml b/.github/workflows/create_nightly_release.yml index a611c672..603cd9f7 100644 --- a/.github/workflows/create_nightly_release.yml +++ b/.github/workflows/create_nightly_release.yml @@ -71,11 +71,11 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - CHANGELOG=$(python3 .github/workflows/changelog.py) - CHANGELOG="${CHANGELOG//'%'/'%25'}" - CHANGELOG="${CHANGELOG//$'\n'/'%0A'}" - CHANGELOG="${CHANGELOG//$'\r'/'%0D'}" - echo "content=$CHANGELOG" >> $GITHUB_OUTPUT + { + echo 'content<> "$GITHUB_OUTPUT" id: changelog - name: Create Release id: create_release diff --git a/.github/workflows/create_stable_release.yml b/.github/workflows/create_stable_release.yml index a0f5bc41..321963f8 100644 --- a/.github/workflows/create_stable_release.yml +++ b/.github/workflows/create_stable_release.yml @@ -55,11 +55,11 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - CHANGELOG=$(python3 .github/workflows/changelog.py ${{ steps.past_version.outputs.past_version }}) - CHANGELOG="${CHANGELOG//'%'/'%25'}" - CHANGELOG="${CHANGELOG//$'\n'/'%0A'}" - CHANGELOG="${CHANGELOG//$'\r'/'%0D'}" - echo "content=$CHANGELOG" >> $GITHUB_OUTPUT + { + echo 'content<> "$GITHUB_OUTPUT" id: changelog - name: Create Release id: create_release