Skip to content

Commit 41769c5

Browse files
chore: fix conditional for draft changelog (#162)
1 parent ba534cb commit 41769c5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,18 @@ jobs:
5252
if: ${{ steps.draft.outputs.tag_name }}
5353
uses: stefanzweifel/changelog-updater-action@v1
5454
with:
55-
latest-version: ${{ steps.release.outputs.tag_name }}
56-
release-notes: ${{ steps.release.outputs.body }}
55+
latest-version: ${{ steps.draft.outputs.tag_name }}
56+
release-notes: ${{ steps.draft.outputs.body }}
5757
hide-release-date: true
5858
parse-github-usernames: true
5959
- name: Create pull request
6060
if: ${{ steps.draft.outputs.tag_name }}
6161
uses: peter-evans/create-pull-request@v7
6262
with:
6363
add-paths: CHANGELOG.md
64-
commit-message: "chore(release): release ${{ steps.release.outputs.tag_name }}"
65-
title: "chore(release): release ${{ steps.release.outputs.tag_name }}"
66-
body: "Update changelog with release notes for ${{ steps.release.outputs.tag_name }}."
64+
commit-message: "chore(release): release ${{ steps.draft.outputs.tag_name }}"
65+
title: "chore(release): release ${{ steps.draft.outputs.tag_name }}"
66+
body: "Update changelog with release notes for ${{ steps.draft.outputs.tag_name }}."
6767
branch: changelog
6868
labels: changelog
6969
token: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)