diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c0bc2bc..b225bb2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,9 +38,10 @@ jobs: changelog changelog.md \ --snippets=.snippets \ --dry-run > latest-entry.json + jq -r ".content" latest-entry.json > latest_description.txt echo "CHANGELOG_JSON=$(jq -c . < latest-entry.json)" >> $GITHUB_ENV echo 'LATEST_DESCRIPTION<<"EOT"' >> $GITHUB_OUTPUT - jq -r ".content" latest-entry.json >> $GITHUB_OUTPUT + cat latest_description.txt >> $GITHUB_OUTPUT echo '"EOT"' >> $GITHUB_OUTPUT echo "latest_version=$(jq -r '.version' latest-entry.json)" >> $GITHUB_ENV - name: Update changelog with snippets diff --git a/.github/workflows/test-release.yaml b/.github/workflows/test-release.yaml index 704a210..8b06d8f 100644 --- a/.github/workflows/test-release.yaml +++ b/.github/workflows/test-release.yaml @@ -35,9 +35,10 @@ jobs: changelog changelog.md \ --snippets=.snippets \ --dry-run > latest-entry.json + jq -r ".content" latest-entry.json > latest_description.txt echo "CHANGELOG_JSON=$(jq -c . < latest-entry.json)" >> $GITHUB_ENV echo 'LATEST_DESCRIPTION<<"EOT"' >> $GITHUB_OUTPUT - jq -r ".content" latest-entry.json >> $GITHUB_OUTPUT + cat latest_description.txt >> $GITHUB_OUTPUT echo '"EOT"' >> $GITHUB_OUTPUT echo "latest_version=$(jq -r '.version' latest-entry.json)" >> $GITHUB_ENV - name: Update changelog with snippets