Naam aanpassing ddOperApi & versie

* Aanpassingen dd-oper-api ddOperApi
 * Aanpassingen dd-api-oper ddOperApi
 * __version__ toegevoegd inclusief githook
This commit is contained in:
Marcel Nijenhof
2021-05-30 10:21:38 +02:00
parent 53a331eb81
commit b426be57ab
6 changed files with 54 additions and 43 deletions

6
githooks/pre-commit Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
VERSION=$(grep version setup.py | sed -e 's/.*="//' -e 's/",//')
sed -i "s/^__version__ = .*/__version__ = '${VERSION}'/" dd-oper-api/__init__.py
git add lmwsip/__init__.py
python setup.py test