From 6c9372c407327c9bb443b2ecf16eff64c0245c4b Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Thu, 6 Feb 2025 18:33:26 +0300 Subject: [PATCH] misc: Automated releases generation (#1808) * misc: Automated releases generation * Update cliff.toml --- .github/workflows/cd.yml | 3 ++- cliff.toml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 8e9e59f72..665a0846a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -109,7 +109,7 @@ jobs: overwrite: true tag: ${{ github.ref }} release_name: "TorrentPier v${{ env.RELEASE_VERSION }}" - body: "${{ needs.generate-changelog.outputs.release_body }}" + body: "${{ needs.changelog.outputs.release_body }}" - name: Publish to GitHub (pre-release) if: ${{ contains(github.ref, '-') }} @@ -122,3 +122,4 @@ jobs: tag: ${{ github.ref }} release_name: "TorrentPier v${{ env.RELEASE_VERSION }}" body: "${{ needs.changelog.outputs.release_body }}" + prerelease: true diff --git a/cliff.toml b/cliff.toml index 3b513c7a7..042352ebb 100644 --- a/cliff.toml +++ b/cliff.toml @@ -12,6 +12,7 @@ repo = "torrentpier" [changelog] # template for the changelog header header = """ +[![TorrentPier](https://raw.githubusercontent.com/torrentpier/.github/refs/heads/main/versions/Cattle.png)](https://github.com/torrentpier)\n # 📖 Change Log\n > [!NOTE] > To view changelog from **v2.0.0** to **v2.4.5-rc.2** navigate to [HISTORY.md](HISTORY.md).