Skip to content

Commit

Permalink
ci: Fix comparison against previous MINOR version
Browse files Browse the repository at this point in the history
Broken in #25117

Our major version has always been 0, so there is no way to find a
version.
  • Loading branch information
def- committed Feb 16, 2024
1 parent 10b13b3 commit 64de767
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 64de767

Please sign in to comment.