Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
🔨 chore: add release command
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo committed Oct 3, 2023
1 parent 36a1aba commit 1baaf1e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
set positional-arguments

VERSION := `grep -oE '\d+\.\d+\.\d+(.+[^"])?' src/bilili/__version__.py`
PYTHON := ".venv/bin/python"

create-venv:
Expand All @@ -18,6 +19,10 @@ test:
build:
{{PYTHON}} -m build

release:
git tag v{{VERSION}}
git push --tags

clean:
find . -name "*- bilibili" -print0 | xargs -0 rm -rf
rm -rf tmp/
Expand Down

0 comments on commit 1baaf1e

Please sign in to comment.