Correcie git pre-commit hook voor versie nummer
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Marcel Nijenhof
2022-01-08 17:32:04 +01:00
parent 2ea0a9c7fb
commit 67ddec8e0d
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
#!/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
git add src/ddOperApi/__init__.py

View File

@@ -1,6 +1,6 @@
[metadata]
name = ddOperApi
version = 0.9.1
version = 0.9.2
author = Marcel Nijenhof
author_email = pypi@marceln.org
description = Interface for the dd-oper protocol

View File

@@ -20,7 +20,7 @@ from datetime import datetime, timedelta
from dateutil.parser import parse
""" Version info changed by git hook """
__version__ = ''
__version__ = '0.9.2'
class ddOperApi:
"""