From adb3a7332f93bd389a36b0f2f7c0e4dc1ba3f319 Mon Sep 17 00:00:00 2001 From: msramalho <19508417+msramalho@users.noreply.github.com> Date: Wed, 8 Feb 2023 09:49:48 +0000 Subject: [PATCH] version --- scripts/release.sh | 2 +- setup.cfg | 6 +++++- src/auto_archiver/version.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index b17093d..09e1fd8 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -3,7 +3,7 @@ set -e -TAG=$(python -c 'from src.auto_archiver.version import VERSION; print("v" + VERSION)') +TAG=$(python -c 'from src.auto_archiver.version import __version__; print("v" + __version__)') read -p "Creating new release for $TAG. Do you want to continue? [Y/n] " prompt diff --git a/setup.cfg b/setup.cfg index b68b6a0..ab31f37 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = auto_archiver -version = attr: auto_archiver.__version__ +version = attr: auto_archiver.version.__version__ author = Bellingcat author_email = tech@bellingcat.com description = Easily archive online media content @@ -13,6 +13,10 @@ classifiers = Intended Audience :: Science/Research License :: OSI Approved :: MIT License Programming Language :: Python :: 3 +project_urls = + Source Code = https://github.com/bellingcat/auto-archiver + Bug Tracker = https://github.com/bellingcat/auto-archiver/issues + [options] setup_requires = diff --git a/src/auto_archiver/version.py b/src/auto_archiver/version.py index d138110..3f68ca8 100644 --- a/src/auto_archiver/version.py +++ b/src/auto_archiver/version.py @@ -9,4 +9,4 @@ _PATCH = "21" _SUFFIX = "" VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR) -VERSION = "{0}.{1}.{2}{3}".format(_MAJOR, _MINOR, _PATCH, _SUFFIX) \ No newline at end of file +__version__ = "{0}.{1}.{2}{3}".format(_MAJOR, _MINOR, _PATCH, _SUFFIX) \ No newline at end of file