feat: implemented release script
This commit is contained in:
parent
d3cc40d0af
commit
38768737b1
@ -1,2 +1,2 @@
|
||||
__version__ = "0.0.0"
|
||||
__version__ = "0.0.1"
|
||||
__name__ = "git_time_tracking"
|
||||
|
17
release
Executable file
17
release
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# install build tools
|
||||
pip install build
|
||||
pip install twine
|
||||
pip install hatch
|
||||
|
||||
|
||||
# increment version in pyproject.toml
|
||||
hatch version micro
|
||||
|
||||
# build package
|
||||
python3 -m build --wheel
|
||||
|
||||
# upload to pypi
|
||||
python3 -m twine upload dist/*
|
||||
python3 -m twine upload --skip-existing --repository gitea dist/*
|
Loading…
Reference in New Issue
Block a user