Skip to content

Commit

Permalink
Merge pull request #25315 from def-/pr-fix-compare
Browse files Browse the repository at this point in the history
ci: Fix comparison against previous MINOR version
  • Loading branch information
def- authored Feb 16, 2024
2 parents 21eaa1a + 64de767 commit 5135262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/python/materialize/version_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def get_previous_mz_version(
excluded_versions = set()

if previous_major:
version = MzVersion.create(version.major, 0, 0)
version = MzVersion.create(version.major, version.minor, 0)

if version.prerelease is not None and len(version.prerelease) > 0:
# simply drop the prerelease, do not try to find a decremented version
Expand Down

0 comments on commit 5135262

Please sign in to comment.