Files
lmwsip/githooks/pre-commit
Marcel Nijenhof 08cd160713
Some checks failed
continuous-integration/drone/push Build is failing
Lokale test omgeschreven naar tox
2021-12-31 22:42:04 +01:00

11 lines
204 B
Bash
Executable File

#!/bin/sh
set -e
VERSION=$(grep version setup.cfg | sed 's/.*= *//')
sed -i "s/^__version__ = .*/__version__ = '${VERSION}'/" src/lmwsip/__init__.py
git add lmwsip/__init__.py
tox
yamllint .drone.yml