From 4285ba130702e693bddd0b34d62940984ad05165 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 | 10 ++++++++++ deno.json | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml index fbdf65a..0ed874f 100644 --- a/.github/workflows/release-binaries.yml +++ b/.github/workflows/release-binaries.yml @@ -16,16 +16,26 @@ 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 + - 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 +}