Skip to content

Commit f504808

Browse files
authored
Update build_and_publish.yml
1 parent 3545505 commit f504808

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/build_and_publish.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,11 @@ jobs:
2525
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
2626
git tag "${{ env.RELEASE_VERSION }}"
2727
git push origin --tags
28-
- name: Create Release
29-
id: create_release
30-
uses: actions/create-release@v1
31-
env:
32-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
28+
- uses: ncipollo/release-action@v1
3329
with:
34-
tag_name: ${{ env.RELEASE_VERSION }}
35-
release_name: ${{ env.RELEASE_NAME }}
36-
draft: false
37-
prerelease: false
30+
tag: ${{ env.RELEASE_VERSION }}
31+
name: ${{ env.RELEASE_NAME }}
32+
generateReleaseNotes: true
3833
build:
3934
runs-on: ubuntu-latest
4035
steps:

0 commit comments

Comments
 (0)