Skip to content
Snippets Groups Projects
Unverified Commit aafc5b6e authored by Mike McQuaid's avatar Mike McQuaid
Browse files

github_packages: rewrite more invalid versions.

Needed for `picat` and `srmio`.
parent 55223555
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,9 @@ class GitHubPackages
def self.image_version_rebuild(version_rebuild)
# invalid docker tag characters
version_rebuild.tr("+", ".")
# TODO: consider changing the actual versions here and make an audit to
# avoid these weird characters being used
version_rebuild.gsub(/[+#~]/, ".")
end
private
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment