Another feature
All checks were successful
release / release (push) Successful in 7s

This commit is contained in:
Tim Basten
2026-02-06 11:52:18 +08:00
parent 5dd6aeb737
commit 3ae14fb1fd
2 changed files with 48 additions and 26 deletions

View File

@@ -20,12 +20,15 @@ jobs:
- name: Install go-gitea/changelog
run: |
go get github.com/go-gitea/changelog
wget https://dl.gitea.com/changelog-tool/main/changelog-main-linux-amd64
chmod +x changelog-main-linux-amd64
sudo mv changelog-main-linux-amd64 /usr/local/bin/changelog
- name: Generate changelog
id: changelog
run: |
changelog --config changelog.yml > CHANGELOG.md
VERSION="${GITHUB_REF_NAME}"
changelog generate -m="${VERSION}" -c="changelog.yml" > CHANGELOG.md
echo "changelog<<EOF" >> $GITHUB_OUTPUT
cat CHANGELOG.md >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
@@ -37,4 +40,3 @@ jobs:
tag_name: ${{ gitea.ref_name }}
name: ${{ gitea.ref_name }}
body: ${{ steps.changelog.outputs.changelog }}