Skip to content

Commit 165bd8d

Browse files
authored
fix(action): generate release notes in release (#2279)
1 parent 3a0843c commit 165bd8d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/create-release.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@ jobs:
1616
echo "VERSION=$(echo ${{ github.ref }} | sed -e 's/^refs\/tags\///')" >> $GITHUB_ENV
1717
- name: Create release
1818
id: create_release
19-
uses: actions/create-release@v1
19+
uses: softprops/action-gh-release@v1
2020
env:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2222
with:
23+
token: ${{ secrets.GITHUB_TOKEN }}
2324
tag_name: ${{ github.ref }}
24-
release_name: Release ${{ env.VERSION }}
25+
name: Release ${{ env.VERSION }}
2526
draft: false
2627
prerelease: false
28+
generate_release_notes: true
2729
- name: Sync core repo dependency version
2830
uses: peter-evans/repository-dispatch@v2
2931
with:

0 commit comments

Comments
 (0)