Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
h2oa authored May 9, 2024
1 parent f775f7b commit 853b3db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- env:
HEAD_REF: ${{ github.head_ref }}
- run: >
gh release create --target ${{
github.event.pull_request.merge_commit_sha }} {--title=CML\
,}$(basename ${{ github.head_ref }}) --generate-notes --draft
,}$(basename $HEAD_REF) --generate-notes --draft
env:
GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
package:
Expand Down

0 comments on commit 853b3db

Please sign in to comment.