Skip to content

Commit

Permalink
test: set branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Shabirmean committed May 7, 2022
1 parent 5722656 commit 2cf05bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/releases/releaser.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def getCurrentVersion(xmlParser, pom: str) -> str:
versionElement = xml.find("./{*}version")
if versionElement == None:
print("pom.xml does not appear to have a <version> tag")
exit(1)
exit(0)
return versionElement.text

def updatePomWithNewVersion(xmlParser, pom: str, version: str, isSubModule: bool) -> None:
Expand Down Expand Up @@ -55,7 +55,7 @@ def main(releaseType: str):
sementicVersion = semver.VersionInfo.parse(currentVersion)
if sementicVersion.prerelease != "SNAPSHOT":
print("Root pom version is {}; Can only release from a SNAPSHOT version".format(sementicVersion))
exit(1)
exit(0)

releaseVersion = sementicVersion.finalize_version()
# nextVersion = releaseVersion.next_version(releaseType)
Expand Down

0 comments on commit 2cf05bd

Please sign in to comment.