Some checks failed
continuous-integration/drone/push Build is failing
- 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
8 lines
238 B
Bash
Executable File
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
|