Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to publish shark-cli to brew #2516

Open
pyricau opened this issue May 18, 2023 · 3 comments
Open

Failure to publish shark-cli to brew #2516

pyricau opened this issue May 18, 2023 · 3 comments

Comments

@pyricau
Copy link
Member

pyricau commented May 18, 2023

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.
@pyricau pyricau changed the title Failure to release shark-cli Failure to publish shark-cli to brew May 18, 2023
@pyricau
Copy link
Member Author

pyricau commented May 18, 2023

Interestingly, running the command again provides me with a duplicate PR error pointing to Homebrew/homebrew-core#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.

@ckesc
Copy link
Contributor

ckesc commented May 24, 2023

Looks like they merged that PR. So is this issue is still issue? :)

@pyricau
Copy link
Member Author

pyricau commented May 27, 2023

They did I wish the automatic release would work instead of someone manually opening PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants