Aanpassing precommit hoek op setup.cfg
This commit is contained in:
1 parent
f521992f58
commit
bcd761653f
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
VERSION=$(grep version setup.py | sed -e 's/.*="//' -e 's/",//')
|
||||
VERSION=$(grep version setup.cfg | sed 's/.*= *//')
|
||||
sed -i "s/^__version__ = .*/__version__ = '${VERSION}'/" lmwsip/__init__.py
|
||||
git add lmwsip/__init__.py
|
||||
|
||||
|
||||
Reference in new issue
Block a user