misc: Automated releases generation (#1808)

* misc: Automated releases generation

* Update cliff.toml
This commit is contained in:
Roman Kelesidis 2025-02-06 18:33:26 +03:00 committed by GitHub
commit 6c9372c407
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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).