Skip to content

Commit

Permalink
Fixed bumping also build number
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliodallatorre committed Feb 17, 2024
1 parent d5b3573 commit bede103
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fvupgrader.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ def get_available_next_versions(directory_path: str) -> list:
current_version = current_version.replace("+", ".")
major, minor, patch, build = current_version.split(".")
return [
f"{major}.{minor}.{int(patch) + 1}+{build}",
f"{major}.{int(minor) + 1}.0+{build}",
f"{int(major) + 1}.0.0+{build}",
f"{major}.{minor}.{int(patch) + 1}+{build + 1}",
f"{major}.{int(minor) + 1}.0+{build + 1}",
f"{int(major) + 1}.0.0+{build + 1}",
]


Expand Down

0 comments on commit bede103

Please sign in to comment.