Allow version check to match with more detailed version strings
What does this MR do?
This MR updates the sed regex in the version check so that it allows for characters trailing the version number. This will allow it to work with the more detailed version strings added in gitlab-org/security-products/analyzers/command!23 (merged), but still be backwards compatible with the previous strings.
Tests
-
✅ Using old version string: https://gitlab.com/gitlab-org/security-products/analyzers/cluster-image-scanning/-/jobs/2173187448 -
✅ Using new version string: https://gitlab.com/gitlab-org/security-products/analyzers/cluster-image-scanning/-/jobs/2173185521
What are the relevant issue numbers?
Does this MR meet the acceptance criteria?
Edited by Brian Williams