mirror of
https://github.com/gosticks/brew.git
synced 2026-08-16 14:40:22 +00:00
More GitHub Packages bulk upload fixes
- replace invalid non-ASCII characters from the descriptions - handle invalid macOS versions on attempting to load old formulae from old bottles - let `rubocop` auto-remove a no-longer needed `rubocop:disable` - fix `skopeo` credentials argument
This commit is contained in:
@@ -195,9 +195,9 @@ class GitHubPackages
|
||||
puts
|
||||
inspect_args = ["inspect", image_uri.to_s]
|
||||
if dry_run
|
||||
puts "#{skopeo} #{inspect_args.join(" ")} --dest-creds=#{user}:$HOMEBREW_GITHUB_PACKAGES_TOKEN"
|
||||
puts "#{skopeo} #{inspect_args.join(" ")} --creds=#{user}:$HOMEBREW_GITHUB_PACKAGES_TOKEN"
|
||||
else
|
||||
inspect_args << "--dest-creds=#{user}:#{token}"
|
||||
inspect_args << "--creds=#{user}:#{token}"
|
||||
inspect_result = system_command(skopeo, args: inspect_args)
|
||||
if inspect_result.status.success?
|
||||
if warn_on_error
|
||||
|
||||
Reference in New Issue
Block a user