diff --git a/.gitea/workflows/update.yaml b/.gitea/workflows/update.yaml index 1f88088..6d5097b 100644 --- a/.gitea/workflows/update.yaml +++ b/.gitea/workflows/update.yaml @@ -19,7 +19,6 @@ jobs: steps: - name: Get latest Homebrewery release via GitHub API run: | - # 1) API-Call resp=$(curl -sSf \ -H "Accept: application/vnd.github.v3+json" \ -H "Authorization: token ${{ secrets.GH_TOKEN }}" \ @@ -40,19 +39,17 @@ jobs: echo "DRAFT=$draft" >>"$GITHUB_ENV" echo "PRERELEASE=$prerelease" >>"$GITHUB_ENV" - read -r -d '' RELEASE_BODY < _This is an automated Docker Image update. Nothing other than the Homebrewery version changed._ - - $body_text - - See original Changelog from [$name]($url) - EOF - - echo "RELEASE_BODY<>"$GITHUB_ENV" - printf '%s\n' "$RELEASE_BODY" >>"$GITHUB_ENV" - echo "EOF" >>"$GITHUB_ENV" + { + echo "RELEASE_BODY< _This is an automated Docker Image update. Nothing other than the Homebrewery version changed._" + printf '\n' + printf '%s\n' "$body_text" + printf '\n' + printf '%s\n' "See original Changelog from [$name]($html_url)" + echo "EOF" + } >>"$GITHUB_ENV" - name: Debug step run: |