From 5bd15ebd87e95b9d3b4f57d6286ca7f39216231d Mon Sep 17 00:00:00 2001 From: Landon GB Date: Fri, 23 Feb 2018 09:40:00 -0700 Subject: [PATCH] Bump to 3.7.1 --- docs/conf.py | 10 +++++----- flask_jwt_extended/__init__.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 620f1a68..2eb3655b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -import sys, os +import sys, os, io, re # flask-jwt-extended documentation build configuration file, created by # sphinx-quickstart on Thu Oct 6 13:07:36 2016. # @@ -64,10 +64,10 @@ # |version| and |release|, also used in various other places throughout the # built documents. # -# The short X.Y version. -version = u'3.7.0' -# The full version, including alpha/beta/rc tags. -release = u'3.7.0' +with io.open('../flask_jwt_extended/__init__.py', encoding='utf-8') as f: + package_version = re.search(r"__version__ = '(.+)'", f.read()).group(1) +version = package_version +release = package_version # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/flask_jwt_extended/__init__.py b/flask_jwt_extended/__init__.py index ec10bada..790da078 100644 --- a/flask_jwt_extended/__init__.py +++ b/flask_jwt_extended/__init__.py @@ -9,4 +9,4 @@ get_jti, decode_token, get_csrf_token ) -__version__ = '3.7.0' +__version__ = '3.7.1'