From 68a409131d1ec028acd21d6486bb7e7ba84a4552 Mon Sep 17 00:00:00 2001 From: msramalho <19508417+msramalho@users.noreply.github.com> Date: Mon, 13 Feb 2023 15:16:24 +0000 Subject: [PATCH] Bump version to v0.1.0 for release --- instagram_locations/version.py | 12 ++++++++++++ scripts/release.sh | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 instagram_locations/version.py diff --git a/instagram_locations/version.py b/instagram_locations/version.py new file mode 100644 index 0000000..ab2de66 --- /dev/null +++ b/instagram_locations/version.py @@ -0,0 +1,12 @@ + +_MAJOR = "0" +_MINOR = "1" +# On main and in a nightly release the patch should be one ahead of the last +# released build. +_PATCH = "0" +# 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) \ No newline at end of file diff --git a/scripts/release.sh b/scripts/release.sh index cf1fc39..d98ec55 100644 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -3,7 +3,7 @@ set -e -TAG=$(python -c 'from instagram_locations.instagram_locations.version import __version__; print("v" + __version__)') +TAG=$(python -c 'from instagram_locations.version import __version__; print("v" + __version__)') read -p "Creating new release for $TAG. Do you want to continue? [Y/n] " prompt