Extra check yamllint .drone.yml

This commit is contained in:
Marcel Nijenhof
2021-07-25 17:03:51 +02:00
parent 3219139041
commit f29d49fafa

View File

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