fix release ci
This commit is contained in:
parent
59d23156d3
commit
242b2b71c5
2 changed files with 4 additions and 5 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -73,6 +73,6 @@ jobs:
|
||||||
|
|
||||||
TITLE=$(python3 -c "print(' '.join(part.capitalize() for part in '$TAG'.split('-')))")
|
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
|
gh release create "$TAG" release/**/*.* --notes-file .github/release_template.md --draft -t "$TITLE"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@ -129,12 +129,11 @@ def main():
|
||||||
run("ftcli converter ft2wf -f woff2 ./fonts/Variable -out woff2/var")
|
run("ftcli converter ft2wf -f woff2 ./fonts/Variable -out woff2/var")
|
||||||
print("Update variable WOFF2")
|
print("Update variable WOFF2")
|
||||||
|
|
||||||
if not args.dry:
|
if args.dry:
|
||||||
|
print("Dry run")
|
||||||
|
else:
|
||||||
git_commit(tag)
|
git_commit(tag)
|
||||||
|
|
||||||
print("Dry run")
|
|
||||||
return
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in a new issue