Skip to content

Commit e0d7cf5

Browse files
authored
Fix tag name issue in update-changelog workflow (#689)
1 parent 7555c90 commit e0d7cf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update-changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "Update Changelog"
22

33
on:
44
release:
5-
types: [released, prereleased]
5+
types: [published]
66

77
jobs:
88
update:
@@ -17,8 +17,8 @@ jobs:
1717
- name: Update Changelog
1818
uses: stefanzweifel/changelog-updater-action@v1
1919
with:
20-
latest-version: ${{ github.event.release.tag_name }}
2120
release-notes: ${{ github.event.release.body }}
21+
latest-version: ${{ github.event.release.name }}
2222

2323
- name: Commit updated CHANGELOG
2424
uses: stefanzweifel/git-auto-commit-action@v4

0 commit comments

Comments
 (0)