diff --git a/ognibuild/__init__.py b/ognibuild/__init__.py index da6dea3..ab42dbb 100644 --- a/ognibuild/__init__.py +++ b/ognibuild/__init__.py @@ -20,6 +20,9 @@ import os import stat +__version__ = (0, 0, 3) + + USER_AGENT = "Ognibuild" diff --git a/releaser.conf b/releaser.conf index deea576..c4c19a4 100644 --- a/releaser.conf +++ b/releaser.conf @@ -7,3 +7,8 @@ update_version { match: "^ version=\"(.*)\",$" new_line: " version=\"$VERSION\"," } +update_version { + path: "ognibuild/__init__.py" + match: "^__version__ = \\((.*)\\)$" + new_line: "__version__ = $TUPLED_VERSION" +} diff --git a/setup.py b/setup.py index d011923..d3676b2 100755 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ from setuptools import setup setup(name="ognibuild", description="Detect and run any build system", - version="0.0.1", + version="0.0.3", maintainer="Jelmer Vernooij", maintainer_email="jelmer@jelmer.uk", license="GNU GPLv2 or later",