generated from Hazel/python-project
added release script
This commit is contained in:
parent
4a8468f014
commit
4fe3be34d8
6
.vscode/settings.json
vendored
Normal file
6
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"cSpell.words": [
|
||||||
|
"germany",
|
||||||
|
"pycountry"
|
||||||
|
]
|
||||||
|
}
|
20
release
Executable file
20
release
Executable 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 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/*
|
Loading…
Reference in New Issue
Block a user