Files
ddOperApi/githooks/pre-commit
Marcel Nijenhof 17820bfb9b
Some checks failed
continuous-integration/drone/push Build is failing
Upload pypi
- Changed to setup.cfg
 - Changed to tox
 - Moved module dir to src
 - Moved tests dir from module to tests dir
 - Corrected .drone for changes
 - Update to 0.9.0
2022-01-08 16:50:41 +01:00

8 lines
238 B
Bash
Executable File

#!/bin/sh -e
VERSION=$(grep version setup.py | sed -e 's/.*="//' -e 's/",//')
sed -i "s/^__version__ = .*/__version__ = '${VERSION}'/" src/ddOperApi/__init__.py
git add src/ddOperApi/__init__.py
python setup.py test
yamllint .drone.yml