From 70f88f33ba49f754ba240242c0653379ff269619 Mon Sep 17 00:00:00 2001 From: Christopher Koerber Date: Mon, 27 Jul 2020 13:06:39 +0200 Subject: [PATCH] Bumped version --- Makefile | 21 +++++++++++++++++++++ espressodb/__init__.py | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5d94e1c7..4959b491 100644 --- a/Makefile +++ b/Makefile @@ -21,3 +21,24 @@ docs: test: make -C example/ test make -C tests/ test + +VERSION:=$(shell python setup.py --version) + +version: + @echo $(VERSION) + +create-dist: test + python -m pip install --upgrade setuptools wheel twine + python setup.py sdist bdist_wheel + +pypi-test-upload: create-dist + @echo "---------------------------------------------------------" + @echo "Start uploading djang-gvar version ${VERSION} to testpypi" + @echo "---------------------------------------------------------" + python -m twine upload --repository testpypi dist/espressodb-${VERSION}* + +pypi-main-upload: pypi-test-upload + @echo"---------------------------------------------------------" + @echo "Start uploading djang-gvar version ${VERSION} to mainpypi" + @echo"---------------------------------------------------------" + python -m twine upload dist/espressodb-${VERSION}* diff --git a/espressodb/__init__.py b/espressodb/__init__.py index dfda85e0..6b4d3b99 100644 --- a/espressodb/__init__.py +++ b/espressodb/__init__.py @@ -2,7 +2,7 @@ """Initializes minimal settings to launch EspressoDB """ -__version__ = "1.2.0" +__version__ = "1.2.1" DEFAULT_OPTIONS = { "DEBUG": True,