Skip to content

Commit e7efe74

Browse files
committed
Fix detection of non-obsolete RC Enterprise tags
Before the change, stable_tags_data was an iterator, but it could be read multiple times. In such a case, the second time it would return an empty result. Fix the problem by constructing a set. This was a copy-paste error from fetch_all_scylla_oss_rc_versions().
1 parent fcb5e33 commit e7efe74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/version_fetch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ def fetch_all_scylla_enterprise_rc_versions():
162162
stable_tags_data = map(lambda e: SCYLLA_ENTERPRISE_RELEASED_VERSION_REGEX.match(
163163
e).groups(), stable_tags_data)
164164
stable_tags_data = map(lambda e: tuple(map(int, e[0:2])), stable_tags_data)
165+
stable_tags_data = set(stable_tags_data)
165166

166167
# Group by (major, minor) and select latest RC version
167168
rc_tags_data = sorted(rc_tags_data)

0 commit comments

Comments
 (0)