Skip to content

Commit 4693abe

Browse files
authored
Update create-release.yml
1 parent 11eb304 commit 4693abe

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/create-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
with:
117117
node-version: ${{ env.node-version }}
118118

119-
- run: npm install --global keep-a-changelog@2
119+
- run: npm install --global keep-a-changelog@2 prettier
120120

121121
- if: needs.prepare.outputs.version-type != 'production'
122122
name: Tag unreleased as latest
@@ -125,6 +125,9 @@ jobs:
125125
- name: Extract latest entry
126126
run: npx keep-a-changelog --format markdownlint --latest-release-full | tee ./CHANGELOG.latest.md
127127

128+
- name: Format extracted entry
129+
run: npx prettier CHANGELOG.latest.md --tab-width 3 --write
130+
128131
- name: Upload changelog
129132
uses: actions/upload-artifact@v7
130133
with:

0 commit comments

Comments
 (0)