Release Environment pipeline does not detect RC version correctly
It looks like the script ./scripts/release_environment/construct-release-environments-versions.rb
did not interpret the right release environment name:
https://gitlab.com/gitlab-org/security/gitlab/-/jobs/7354671209
$ ./scripts/release_environment/construct-release-environments-versions.rb
ENVIRONMENT=v17-2-0-rc42-security
VERSIONS={"gitaly":"v17-2-0-rc42-0aa6926b","registry":"v17-2-0-rc42-0aa6926b","kas":"v17-2-0-rc42-0aa6926b","mailroom":"v17-2-0-rc42-0aa6926b","pages":"v17-2-0-rc42-0aa6926b","gitlab":"v17-2-0-rc42-0aa6926b","shell":"v17-2-0-rc42-0aa6926b","praefect":"v17-2-0-rc42-0aa6926b"}
It should interpret to ENVIRONMENT=17-2-stable-security
Edited by Dat Tang