Correcie git pre-commit hook voor versie nummer
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
VERSION=$(grep version setup.py | sed -e 's/.*="//' -e 's/",//')
|
VERSION=$(python setup.py --version)
|
||||||
sed -i "s/^__version__ = .*/__version__ = '${VERSION}'/" src/ddOperApi/__init__.py
|
sed -i "s/^__version__ = .*/__version__ = '${VERSION}'/" src/ddOperApi/__init__.py
|
||||||
git add src/ddOperApi/__init__.py
|
git add src/ddOperApi/__init__.py
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = ddOperApi
|
name = ddOperApi
|
||||||
version = 0.9.1
|
version = 0.9.2
|
||||||
author = Marcel Nijenhof
|
author = Marcel Nijenhof
|
||||||
author_email = pypi@marceln.org
|
author_email = pypi@marceln.org
|
||||||
description = Interface for the dd-oper protocol
|
description = Interface for the dd-oper protocol
|
||||||
|
@@ -20,7 +20,7 @@ from datetime import datetime, timedelta
|
|||||||
from dateutil.parser import parse
|
from dateutil.parser import parse
|
||||||
|
|
||||||
""" Version info changed by git hook """
|
""" Version info changed by git hook """
|
||||||
__version__ = ''
|
__version__ = '0.9.2'
|
||||||
|
|
||||||
class ddOperApi:
|
class ddOperApi:
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user