diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..a826cd0 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "cSpell.words": [ + "germany", + "pycountry" + ] +} \ No newline at end of file diff --git a/release b/release new file mode 100755 index 0000000..6e2cbe1 --- /dev/null +++ b/release @@ -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 git_time_tracking/__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/* \ No newline at end of file