From 2533a1a4d91974df32242529683adfe6e06803bc Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Wed, 6 Apr 2022 16:38:35 +0200 Subject: [PATCH] 2.4.2 --- README.md | 2 +- ogscm/version.py | 3 ++- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0fce85f..9bb8b4a 100644 --- a/README.md +++ b/README.md @@ -229,6 +229,6 @@ ogscm compiler.py ogs.py -B -C -R --ogs [path to ogs sources] ## PyPi Publication -- Bump version in `pyproject.py` and `version.py` +- Bump version in `pyproject.py` and run `poetry install` - Create tag - Push to GitLab (`git push --tags`) diff --git a/ogscm/version.py b/ogscm/version.py index 5e72c30..7743eae 100644 --- a/ogscm/version.py +++ b/ogscm/version.py @@ -1,3 +1,4 @@ from __future__ import absolute_import +import pkg_resources -__version__ = "2.4.1" +__version__ = pkg_resources.get_distribution("ogscm").version diff --git a/pyproject.toml b/pyproject.toml index d8a03af..de931dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ogscm" -version = "2.4.1" +version = "2.4.2" description = "OGS Container Maker" authors = ["Lars Bilke <lars.bilke@ufz.de>"] license = "BSD 3-clause" -- GitLab