Skip to content

Commit b9ac2e9

Browse files
committed
reset CHANGELOG and VERSION for the next release
1 parent d5501b5 commit b9ac2e9

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
### NEXT (unreleased)
2+
13
### 3.6.5 2019-07-09
24

35
* Fix broken pickup tests

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.6.5
1+
3.6.6-unreleased

easypost/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99

1010
from six.moves.urllib.parse import urlencode, quote_plus, urlparse
1111

12-
from .version import VERSION
12+
from .version import VERSION, VERSION_INFO
1313

1414
__author__ = 'EasyPost <oss@easypost.com>'
1515
__version__ = VERSION
16-
version_info = tuple(int(v) for v in VERSION.split('.'))
16+
version_info = VERSION_INFO
1717

1818

1919
# use urlfetch as request_lib on google app engine, otherwise use requests

easypost/version.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@
22

33

44
VERSION = pkg_resources.resource_stream('easypost', '../VERSION').read().decode('utf-8').strip()
5+
6+
if '-' in VERSION:
7+
VERSION_INFO = tuple([int(v) for v in VERSION.split('-')[0].split('.')] + VERSION.split('-')[1:])
8+
else:
9+
VERSION_INFO = tuple(int(v) for v in VERSION.split('.'))

0 commit comments

Comments
 (0)