fix release ci

This commit is contained in:
subframe7536 2024-12-29 11:08:03 +08:00
parent 59d23156d3
commit 242b2b71c5
2 changed files with 4 additions and 5 deletions

View file

@ -73,6 +73,6 @@ jobs:
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:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -129,12 +129,11 @@ def main():
run("ftcli converter ft2wf -f woff2 ./fonts/Variable -out woff2/var")
print("Update variable WOFF2")
if not args.dry:
if args.dry:
print("Dry run")
else:
git_commit(tag)
print("Dry run")
return
if __name__ == "__main__":
main()