Skip to content

Commit e63e29c

Browse files
authored
Use custom no767/get-releasenote action instead of changelog.md for obtaining release notes (#573)
1 parent ca7a557 commit e63e29c

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ jobs:
4545
name: artifact
4646
path: releases
4747

48+
- name: Generate release notes
49+
uses: no767/get-releasenote@0.1.0
50+
with:
51+
name: Kumiko
52+
changes_file: changelog.md
53+
output_file: output.md
54+
version_file: bot/cogs/__init__.py
55+
4856
- name: Bump version and push tag
4957
uses: anothrNick/github-tag-action@1.67.0
5058
id: tag_version
@@ -56,8 +64,8 @@ jobs:
5664
- name: Release New Version
5765
uses: ncipollo/release-action@v1
5866
with:
59-
bodyFile: "changelog.md"
67+
bodyFile: "output.md"
6068
token: ${{ secrets.PAT_TOKEN }}
6169
tag: ${{ steps.tag_version.outputs.new_tag }}
6270
name: ${{ steps.tag_version.outputs.new_tag }}
63-
artifacts: "releases/kumiko-docker.zip,releases/kumiko-docker.tar.gz"
71+
artifacts: "releases/kumiko-docker.zip,releases/kumiko-docker.tar.gz"

bot/cogs/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
from pkgutil import iter_modules
22
from typing import Literal, NamedTuple
33

4+
__version__ = "0.12.0-beta"
5+
46

57
class VersionInfo(NamedTuple):
68
major: int

changes/573.misc.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use custom `no767/get-releasenote` action instead of `changelog.md` for obtaining release notes

0 commit comments

Comments
 (0)