Compare commits

..

2 Commits

Author SHA1 Message Date
2cf219d917 bump version 2024-07-02 16:36:21 +02:00
25c601ecee feat: added release script 2024-07-02 16:35:14 +02:00
2 changed files with 21 additions and 1 deletions

View File

@@ -1,2 +1,2 @@
__version__ = "0.0.0"
__version__ = "0.0.1"
__name__ = "json_unescape"

20
release Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
# install build tools
pip install build
pip install twine
pip install hatch
# increment version in pyproject.toml
hatch version micro
git add json_unescape/__about__.py
git commit -m "bump version"
git push
# build package
python3 -m build --wheel
# upload to pypi
python3 -m twine upload dist/*
python3 -m twine upload --skip-existing --repository gitea dist/*