generated from Hazel/python-project
Compare commits
2 Commits
96bb1fce8e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 2cf219d917 | |||
| 25c601ecee |
@@ -1,2 +1,2 @@
|
||||
__version__ = "0.0.0"
|
||||
__version__ = "0.0.1"
|
||||
__name__ = "json_unescape"
|
||||
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 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/*
|
||||
Reference in New Issue
Block a user