Skip to content

Commit 70badad

Browse files
authored
Merge pull request #21193 from Homebrew/github_packages-schema
github_packages: convert formula version to a string in schema
2 parents 9d48a58 + 188bc7b commit 70badad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Library/Homebrew/github_packages.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def upload_bottle(user, token, skopeo, formula_full_name, bottle_hash, keep_old:
357357
"org.opencontainers.image.title" => formula_full_name,
358358
"org.opencontainers.image.url" => bottle_hash["formula"]["homepage"],
359359
"org.opencontainers.image.vendor" => org,
360-
"org.opencontainers.image.version" => version,
360+
"org.opencontainers.image.version" => version.to_s, # Schema accepts strings for version
361361
}.compact_blank
362362
manifests = []
363363
end

0 commit comments

Comments
 (0)