Skip to content

Commit 5bd15eb

Browse files
committed
Bump to 3.7.1
1 parent 85380f0 commit 5bd15eb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/conf.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
import sys, os
3+
import sys, os, io, re
44
# flask-jwt-extended documentation build configuration file, created by
55
# sphinx-quickstart on Thu Oct 6 13:07:36 2016.
66
#
@@ -64,10 +64,10 @@
6464
# |version| and |release|, also used in various other places throughout the
6565
# built documents.
6666
#
67-
# The short X.Y version.
68-
version = u'3.7.0'
69-
# The full version, including alpha/beta/rc tags.
70-
release = u'3.7.0'
67+
with io.open('../flask_jwt_extended/__init__.py', encoding='utf-8') as f:
68+
package_version = re.search(r"__version__ = '(.+)'", f.read()).group(1)
69+
version = package_version
70+
release = package_version
7171

7272
# The language for content autogenerated by Sphinx. Refer to documentation
7373
# for a list of supported languages.

flask_jwt_extended/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
get_jti, decode_token, get_csrf_token
1010
)
1111

12-
__version__ = '3.7.0'
12+
__version__ = '3.7.1'

0 commit comments

Comments
 (0)