Skip to content

fix: align version validation regex to 4.18+#95

Merged
sebrandon1 merged 1 commit into
mainfrom
fix/align-version-regex
Jul 15, 2026
Merged

fix: align version validation regex to 4.18+#95
sebrandon1 merged 1 commit into
mainfrom
fix/align-version-regex

Conversation

@sebrandon1

Copy link
Copy Markdown
Contributor

Summary

  • Update fetch-ocp-crc-version.sh regex from ^4\.([1-9][0-9]|10)$ (accepts 4.10+) to ^4\.(1[8-9]|[2-9][0-9])$ (accepts 4.18+)
  • Aligns with the stricter validation already enforced by set-crc-version.sh and the versions in crc-version-pins.json
  • Update comment and error message to reflect the 4.18+ minimum

Closes #80

Update fetch-ocp-crc-version.sh to reject OCP versions below 4.18,
matching the validation already enforced by set-crc-version.sh and the
versions listed in crc-version-pins.json.

Closes #80
@sebrandon1
sebrandon1 merged commit be735d9 into main Jul 15, 2026
31 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align version validation regex across scripts

1 participant