Skip to content

Commit 2158f3d

Browse files
authored
Merge pull request #74 from swagger-api/fix-last-release
2 parents f2ff768 + c1039b8 commit 2158f3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CI/lastRelease.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ def getLastReleaseTag():
77
for l in content:
88
draft = l["draft"]
99
tag = l["tag_name"]
10-
if str(draft) != 'True' and tag.startswith("v2"):
10+
if str(draft) != 'True' and tag.startswith("v1"):
1111
return tag[1:]
12-
return "v1.0.3"
12+
return "1.0.3"
1313
# main
1414
def main():
1515
result = getLastReleaseTag()

0 commit comments

Comments
 (0)