Skip to content

Commit

Permalink
fix cosmetic issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andriisoldatenko committed Apr 27, 2020
1 parent 247f677 commit 5955072
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/next_version.py
@@ -1,7 +1,6 @@
import os
import re
import sys
import json
from github import Github
from packaging.version import parse as semver

Expand All @@ -22,6 +21,8 @@
print(f"We will find the most recent patch version of {major_minor_version} and return it incremented by one", file=sys.stderr)
for release in repo.get_releases():
version = semver(release.tag_name).release
if not version:
continue
this_major_minor = f"{version[0]}.{version[1]}"
if this_major_minor == major_minor_version:
most_recent_tag = release.tag_name
Expand Down

0 comments on commit 5955072

Please sign in to comment.