We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a7c978 commit dc9d522Copy full SHA for dc9d522
tasks.py
@@ -24,8 +24,8 @@ def build_pip(context):
24
latest_version = title.text
25
break
26
27
- current_maj, current_min, current_sub = latest_version.split('.')
28
- next_maj, next_min, next_sub = git_tag_version.split('.')
+ current_maj, current_min, current_sub = list(map(int, latest_version.split('.')))
+ next_maj, next_min, next_sub = list(map(int, git_tag_version.split('.')))
29
30
if (next_maj > current_maj) or \
31
(next_maj >= current_maj and next_min > current_min) or \
@@ -34,7 +34,6 @@ def build_pip(context):
34
else:
35
raise Exception("Invalid version: %s is not greater than latest version %s" % (git_tag_version, latest_version))
36
37
-
38
39
@task
40
def deploy_pip(context):
0 commit comments