From 810b4a31703f71439f1e1a22e59e05e12b66ef39 Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Mon, 29 Aug 2022 11:30:59 +0200 Subject: [PATCH] added bump2version --- .gitignore | 1 - requirements-tests.txt | 1 + setup.cfg | 19 ++++++++++++------- sshuttle/version.py | 1 + 4 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 sshuttle/version.py diff --git a/.gitignore b/.gitignore index b79343a..1f755b6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -/sshuttle/version.py /tmp/ /.cache/ /.eggs/ diff --git a/requirements-tests.txt b/requirements-tests.txt index 0c31004..7aa2968 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -3,3 +3,4 @@ pytest==7.1.2 pytest-cov==3.0.0 flake8==5.0.4 pyflakes==2.5.0 +bump2version==1.0.1 diff --git a/setup.cfg b/setup.cfg index dbdf161..f4abe55 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,18 +1,23 @@ +[bumpversion] +current_version = 1.1.0 + +[bumpversion:file:sshuttle/version.py] + [aliases] -test=pytest +test = pytest [bdist_wheel] universal = 1 [upload] -sign=true -identity=0x1784577F811F6EAC +sign = true +identity = 0x1784577F811F6EAC [flake8] -count=true -show-source=true -statistics=true -max-line-length=128 +count = true +show-source = true +statistics = true +max-line-length = 128 [tool:pytest] addopts = --cov=sshuttle --cov-branch --cov-report=term-missing diff --git a/sshuttle/version.py b/sshuttle/version.py new file mode 100644 index 0000000..d4f3c4c --- /dev/null +++ b/sshuttle/version.py @@ -0,0 +1 @@ +__version__ = version = '1.1.0'