add release title in ci
This commit is contained in:
parent
d0ceb840cc
commit
ed6c26c49a
1 changed files with 3 additions and 1 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -56,6 +56,8 @@ jobs:
|
|||
|
||||
sed -i "s|https://<url>|https://github.com/subframe7536/maple-font/releases/download/${TAG//\//\\/}|g" .github/release_template.md
|
||||
|
||||
gh release create "$TAG" release/**/*.* --notes-file .github/release_template.md --draft
|
||||
TITLE=$(python3 -c "print(' '.join(part.capitalize() for part in '$TAG'.split('-')))")
|
||||
|
||||
gh release create "$TAG" release/**/*.* --notes-file .github/release_template.md --draft -t $TITLE
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue