Versie nummer in de module
This commit is contained in:
7
githooks/pre-commit
Executable file
7
githooks/pre-commit
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
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
|
Reference in New Issue
Block a user