Skip to content

Commit

Permalink
Update the version
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizu committed Jun 5, 2020
1 parent e3b8eac commit 968c7fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
20 changes: 1 addition & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,22 +84,4 @@ workflows:
branches:
ignore: /.*/
tags:
only: /^\d+(\.\d+){2}((a|b|rc)\d+)?(\.post\d+)?(\.dev\d+)?/
#
# workflows:
# version: 2
# build_and_deploy:
# jobs:
# - build
# - build:
# filters:
# tags:
# only: /.*/
# - deploy:
# requires:
# - build
# filters:
# tags:
# only: /[0-9]+(\.[0-9]+)*/
# branches:
# ignore: /.*/
only: /^v\d+(\.\d+){2}((a|b|rc)\d+)?(\.post\d+)?(\.dev\d+)?/
2 changes: 1 addition & 1 deletion scopyon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
"constants", "analysis"
]

__version__ = '1.0.0a2'
__version__ = '1.0.0a3'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class verify_version_command(install):

def run(self):
tag = os.getenv('CIRCLE_TAG')
if tag is not None and tag != version:
if tag is not None and tag != 'v' + version:
info = "Git tag: {0} does not match the version of this library: {1}".format(tag, version)
sys.exit(info)

Expand Down

0 comments on commit 968c7fb

Please sign in to comment.