diff --git a/.github/release-notes.sh b/.github/release-notes.sh index 3fe3f6b17..9937c18cf 100755 --- a/.github/release-notes.sh +++ b/.github/release-notes.sh @@ -24,7 +24,7 @@ gh api "/repos/${GITHUB_REPOSITORY}/releases/generate-notes" \ trim_trailing_newlines() { local text text="$(cat)" - echo -n "${text//$'\n'}" + echo -n "${text}" } linkify_gh() { diff --git a/.github/workflows/propose-release.yml b/.github/workflows/propose-release.yml index c01167994..82407abe7 100644 --- a/.github/workflows/propose-release.yml +++ b/.github/workflows/propose-release.yml @@ -26,6 +26,7 @@ jobs: extra-commands-early: | echo ${{ inputs.version }} > .version-determinate git add .version-determinate + git commit -m "Set .version-determinate to ${{ inputs.version }}" || true ./.github/release-notes.sh git add doc - git commit -m "Set .version-determinate to ${{ inputs.version }}" || true + git commit -m "Generare release notes for ${{ inputs.version }}" || true