Skip to content
Snippets Groups Projects
Commit e03ab162 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Added the ability to specify a post release.

parent 29150b39
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ RUN pyenv install 3.5.10 && \ ...@@ -39,7 +39,7 @@ RUN pyenv install 3.5.10 && \
pyenv install pypy3.6-7.3.1 && \ pyenv install pypy3.6-7.3.1 && \
pyenv global 3.9.0 pyenv global 3.9.0
RUN /.pyenv/versions/3.9.0/bin/python3.9 -m pip install --upgrade pip RUN /.pyenv/versions/3.9.0/bin/python3.9 -m pip install --upgrade pip
RUN pip install tox RUN pip install tox twine
RUN mkdir -p /usr/src/ibapi && \ RUN mkdir -p /usr/src/ibapi && \
chmod a+rwx -R /usr/src/ibapi && \ chmod a+rwx -R /usr/src/ibapi && \
......
...@@ -8,11 +8,14 @@ Copyright (C) 2019 Interactive Brokers LLC. All rights reserved. This code is su ...@@ -8,11 +8,14 @@ Copyright (C) 2019 Interactive Brokers LLC. All rights reserved. This code is su
VERSION = { VERSION = {
'major': 9, 'major': 9,
'minor': 81, 'minor': 81,
'micro': 1} 'patch': 1,
'extra': 1}
def get_version_string(): def get_version_string():
version = '{major}.{minor}.{micro}'.format(**VERSION) version = '{major}.{minor}.{patch}-{extra}'.format(**VERSION)
if( VERSION['extra'] <= 0):
version = '{major}.{minor}.{patch}'.format(**VERSION)
return version return version
__version__ = get_version_string() __version__ = get_version_string()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment