From b897a749ee7c94cce58adab690d7c9dc3fec1b50 Mon Sep 17 00:00:00 2001 From: myxi Date: Tue, 22 Oct 2024 22:39:18 +0530 Subject: [PATCH] feat: include change logs in releases --- .github/workflows/release-binaries.yml | 12 ++++++++++++ deno.json | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml index fbdf65a..4c9825a 100644 --- a/.github/workflows/release-binaries.yml +++ b/.github/workflows/release-binaries.yml @@ -16,16 +16,28 @@ jobs: uses: denoland/setup-deno@v2 with: deno-version: v2.x + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" - name: Setup Fish Shell uses: fish-actions/install-fish@v1.1.0 + - name: Generate Release Notes + run: | + pip install git-cliff + git-cliff -l -o RELEASE-NOTES.md + echo "RELEASE-NOTES.md:\n" + cat RELEASE-NOTES.md + - name: Build Binaries run: chmod +x build.fish && ./build.fish - name: Upload Binaries to Release uses: softprops/action-gh-release@v2 with: + body_path: RELEASE-NOTES.md files: | bin/*.bin bin/*.exe diff --git a/deno.json b/deno.json index 5c325e3..a10e153 100644 --- a/deno.json +++ b/deno.json @@ -1,5 +1,5 @@ { - "version": "0.4.2", + "version": "0.4.3", "tasks": { "start": "deno fmt; deno --check --allow-all src/main.ts", "install": "deno install -gf --name cela --allow-all src/main.ts" @@ -14,4 +14,4 @@ "fmt": { "indentWidth": 4 } -} \ No newline at end of file +}