diff --git a/Dockerfile b/Dockerfile index 701280b..2cfd5b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,11 @@ FROM selenium/standalone-firefox AS ff FROM python:3.7-buster +LABEL author="Blallo" +LABEL email="blallo@autistici.org" +LABEL io.troubles.botz.release-date="2019-09-04" +LABEL io.troubles.botz.version="1.0.0" + ENV DEBIAN_FRONTEND=noninteractive COPY --from=node /usr/local /usr/local diff --git a/bot_z/__init__.py b/bot_z/__init__.py index a49c060..469e18c 100644 --- a/bot_z/__init__.py +++ b/bot_z/__init__.py @@ -4,4 +4,4 @@ __author__ = """Blallo""" __email__ = "blallo@autistici.org" -__version__ = "0.1.0" +__version__ = "1.0.0" diff --git a/setup.cfg b/setup.cfg index d6ea6fa..fab4871 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,14 +2,19 @@ current_version = 1.0.0 commit = True tag = True +sign_tags = True [bumpversion:file:setup.py] -search = version='{current_version}' -replace = version='{new_version}' +search = VERSION = "{current_version}" +replace = VERSION = "{new_version}" [bumpversion:file:bot_z/__init__.py] -search = __version__ = '{current_version}' -replace = __version__ = '{new_version}' +search = __version__ = "{current_version}" +replace = __version__ = "{new_version}" + +[bumpversion:file:Dockerfile] +search = LABEL io.troubles.botz.version="{current_version}" +replace = LABEL io.troubles.botz.version="{new_version}" [bdist_wheel] universal = 0