Compare commits

...

2 Commits

Author SHA1 Message Date
msramalho
6244f35cff Bump version to v0.2.22 for release 2023-02-08 09:50:36 +00:00
msramalho
adb3a7332f version 2023-02-08 09:49:48 +00:00
4 changed files with 8 additions and 8 deletions

View File

@@ -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

View File

@@ -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 =

View File

@@ -5,7 +5,3 @@ from .core.orchestrator import ArchivingOrchestrator
from .core.config import Config
# making accessible directly
from .core.metadata import Metadata
from .version import VERSION
__version__ = VERSION

View File

@@ -3,10 +3,10 @@ _MAJOR = "0"
_MINOR = "2"
# On main and in a nightly release the patch should be one ahead of the last
# released build.
_PATCH = "21"
_PATCH = "22"
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
# https://semver.org/#is-v123-a-semantic-version for the semantics.
_SUFFIX = ""
VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)
VERSION = "{0}.{1}.{2}{3}".format(_MAJOR, _MINOR, _PATCH, _SUFFIX)
__version__ = "{0}.{1}.{2}{3}".format(_MAJOR, _MINOR, _PATCH, _SUFFIX)