leakcanary
leakcanary copied to clipboard
Failure to publish shark-cli to brew
I've been following the same steps as always to publish shark-cli :
brew bump-formula-pr --url https://github.com/square/leakcanary/releases/download/v2.11/shark-cli-2.11.zip leakcanary-shark
But I get an error output
Running `brew update --auto-update`...
Warning: Calling plist_options is deprecated! Use service.require_root instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/homebrew-core), or even better, submit a PR to fix it:
/opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/unbound.rb:62
You have 6 outdated formulae installed.
==> Installing 'bundler' gem
ERROR: SSL verification error at depth 1: unable to get local issuer certificate (20)
ERROR: You must add /CN=Square Primary Certificate Authority - G2/O=Square Inc./ST=California/L=San Francisco/C=US to your local trusted store
Fetching bundler-2.3.26.gem
Fetching gem metadata from https://rubygems.org/.......
Warning: This formula has resources that may need to be updated.
==> Downloading https://github.com/square/leakcanary/releases/download/v2.11/shark-cli-2.11.zip
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/34824499/7bb5c539-f65
################################################################################################################ 100.0%
Warning: Cannot verify integrity of 'b9f0381691536045bea856494638d5bdba24a8440befc56c7d9ec28442b9bca5--shark-cli-2.11.zip'.
No checksum was provided.
For your reference, the checksum is:
sha256 "455573925705bf851665182f5b95c385b3939d346b18a2ccf64256da38599571"
==> replace /https:\/\/github\.com\/square\/leakcanary\/releases\/download\/v2\.10\/shark\-cli\-2\.10\.zip/ with "https
==> replace "c341da7c0aec2472116a2e00ec3cfd85e5244c41e1460f5be3c23d0b5ce3ea7b" with "455573925705bf851665182f5b95c385b3
error: Your local changes to the following files would be overwritten by checkout:
Formula/leakcanary-shark.rb
Please commit your changes or stash them before you switch branches.
Aborting
Error: Failure while executing; `git checkout --no-track -b bump-leakcanary-shark-2.11 origin/master` exited with 1.
Interestingly, running the command again provides me with a duplicate PR error pointing to https://github.com/Homebrew/homebrew-core/pull/131269 which was (manually?) opened by @chenrui333
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
Warning: Calling plist_options is deprecated! Use service.require_root instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/homebrew-core), or even better, submit a PR to fix it:
/opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/unbound.rb:62
You have 6 outdated formulae installed.
Error: These open pull requests may be duplicates:
leakcanary-shark 2.11 https://github.com/Homebrew/homebrew-core/pull/131269
Duplicate PRs should not be opened. Use --force to override this error.
Looks like they merged that PR. So is this issue is still issue? :)
They did I wish the automatic release would work instead of someone manually opening PRs.