Skip to content

Commit

Permalink
ci: update release workflow (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
bytemain committed Jul 19, 2022
1 parent 8be877b commit 6763ac6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/real_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,12 @@ jobs:

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ncipollo/release-action@v1
with:
tag_name: ${{ env.DIST_VERSION }}
release_name: ${{ env.DIST_VERSION }}
body_path: ./RELEASE_LOG.md
tag: ${{ env.DIST_VERSION }}
name: ${{ env.DIST_VERSION }}
body: ${{ github.event.issue.body }}
token: ${{ secrets.GITHUB_TOKEN }}
draft: true
prerelease: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: 'The version you want to release, eg: 1.0.0. **no prefix v!**'
required: true
release_branch:
description: 'The release branch, eg: master, if run on master, please make sure the release_branch is set'
description: 'Released from which branch, eg: master'
required: false
default: 'master'

Expand Down

0 comments on commit 6763ac6

Please sign in to comment.