From 734b3664cc80bc82c4ba5197af670c2d8becf724 Mon Sep 17 00:00:00 2001 From: Teo Stocco Date: Fri, 8 Dec 2023 15:38:13 +0100 Subject: [PATCH] fix: git cliff --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb3cf3df95..2f704f6729 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,20 +25,20 @@ jobs: with: deno-version: v${{ env.DENO_VERSION }} - uses: kenji-miyake/setup-git-cliff@v1 - - id: checks - run: | + - run: | VERSION=$(deno run -A dev/lock.ts --version) if [[ "${{ github.ref_name }}" != "v$VERSION" ]]; then echo "Tag ${{ github.ref_name }} does not match code version v$VERSION, stopping." exit -1 fi echo "Releasing v$VERSION" - echo "release_note=$(git cliff --latest --strip header)" >> $GITHUB_OUTPUT + git cliff --latest --strip header --output CHANGE.md + cat CHANGE.md - uses: ncipollo/release-action@v1 with: tag: ${{ github.ref_name }} makeLatest: true - body: ${{ steps.checks.outputs.release_note }} + bodyFile: "CHANGE.md" discussionCategory: "Announcements" meta-cli: