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

Problem with bump-cask-pr and cask `sf-symbols' #93256

Closed
tbrodbeck opened this issue Nov 21, 2020 · 10 comments · Fixed by Homebrew/brew#9246
Closed

Problem with bump-cask-pr and cask `sf-symbols' #93256

tbrodbeck opened this issue Nov 21, 2020 · 10 comments · Fixed by Homebrew/brew#9246
Labels

Comments

@tbrodbeck
Copy link
Contributor

tbrodbeck commented Nov 21, 2020

Description of issue

I tried to update the cask sf-symbols (https://developer.apple.com/sf-symbols/) because I wanted to use the new version (2.1). Me and brew failed doing this.

Command that failed

brew bump-cask-pr --version 2.1 sf-symbols

Output of command

  1. time I tried:
==> Downloading https://devimages-cdn.apple.com/design/resources/download/SF-Symbols-2.dmg
Already downloaded: /Users/tillmann/Library/Caches/Homebrew/downloads/fb0713141345c207df81f5a7c795a5b134a399ecde5d68ba993cb4005b49ee77--SF-Symbols-2.dmg
Warning: Cannot verify integrity of fb0713141345c207df81f5a7c795a5b134a399ecde5d68ba993cb4005b49ee77--SF-Symbols-2.dmg
A checksum was not provided for this resource.
For your reference the SHA-256 is: d6071715cc4e5ad46877fd34d7099f53cedeba190667b510927f5775f3f48d4a
==> replace "2.0" with "2.1"
==> replace "d6071715cc4e5ad46877fd34d7099f53cedeba190667b510927f5775f3f48d4a" with "d6071715cc4e5ad46877fd34d7099f53cedeba190667b510927f5775f3
audit for sf-symbols: passed
==> Installing 'bundler' gem
[...]
1 file inspected, no offenses detected
Error: Your  credentials do not have sufficient scope!
Scopes required: public_repo
Scopes present:  none
Create a personal access token:
  https://github.com/settings/tokens/new?scopes=gist,public_repo&description=Homebrew
echo 'export HOMEBREW_GITHUB_API_TOKEN=your_token_here' >> ~/.zshrc
Error: Unable to fork: GitHub You must be logged in to do that.:The GitHub credentials in the macOS keychain may be invalid.
Clear them with:
  printf "protocol=https\nhost=github.com\n" | git credential-osxkeychain erase
Or create a personal access token:
  https://github.com/settings/tokens/new?scopes=gist,public_repo&description=Homebrew
echo 'export HOMEBREW_GITHUB_API_TOKEN=your_token_here' >> ~/.zshrc

After following the instruction:

==> Downloading https://devimages-cdn.apple.com/design/resources/download/SF-Symbols-2.dmg
Already downloaded: /Users/tillmann/Library/Caches/Homebrew/downloads/fb0713141345c207df81f5a7c795a5b134a399ecde5d68ba993cb4005b49ee77--SF-Symbols-2.dmg
Warning: Cannot verify integrity of fb0713141345c207df81f5a7c795a5b134a399ecde5d68ba993cb4005b49ee77--SF-Symbols-2.dmg
A checksum was not provided for this resource.
For your reference the SHA-256 is: d6071715cc4e5ad46877fd34d7099f53cedeba190667b510927f5775f3f48d4a
==> replace "2.0" with "2.1"
==> replace "d6071715cc4e5ad46877fd34d7099f53cedeba190667b510927f5775f3f48d4a" with "d6071715cc4e5ad46877fd34d7099f53cedeba190667b510927f5775f3
audit for sf-symbols: passed

1 file inspected, no offenses detected
M	Casks/sf-symbols.rb
Switched to a new branch 'bump-sf-symbols-2.1'
[bump-sf-symbols-2.1 cfe6f0d9b5] Update sf-symbols from 2.0 to 2.1
 1 file changed, 1 insertion(+), 1 deletion(-)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Error: Failure while executing; `git push --set-upstream https://74057ccc6fa1bc79e88d960932f6fc52b4f18d0c@github.com/tbrodbeck/homebrew-cask.git bump-sf-symbols-2.1:bump-sf-symbols-2.1` exited with 128.
➜  dev git push --set-upstream https://74057ccc6fa1bc79e88d960932f6fc52b4f18d0c@github.com/tbrodbeck/homebrew-cask.git bump-sf-symbols-2.1:bump-sf-symbols-2.1
fatal: not a git repository (or any of the parent directories): .git
➜  dev git push --set-upstream https://74057ccc6fa1bc79e88d960932f6fc52b4f18d0c@github.com/tbrodbeck/homebrew-cask.git bump-sf-symbols-2.1:bump-sf-symbols-2.1
➜  dev brew casks upgrade sf-symbols             
Error: Unknown command: casks

After trying out what happens if I brew cask upgrade sf-symbols, now it is this:

==> Downloading https://devimages-cdn.apple.com/design/resources/download/SF-Symbols-2.dmg
Already downloaded: /Users/tillmann/Library/Caches/Homebrew/downloads/fb0713141345c207df81f5a7c795a5b134a399ecde5d68ba993cb4005b49ee77--SF-Symbols-2.dmg
Warning: Cannot verify integrity of 'fb0713141345c207df81f5a7c795a5b134a399ecde5d68ba993cb4005b49ee77--SF-Symbols-2.dmg'.
No checksum was provided for this resource.
For your reference, the checksum is:
  sha256 "d6071715cc4e5ad46877fd34d7099f53cedeba190667b510927f5775f3f48d4a"
==> replace "2.0" with "2.1"
==> replace #<Checksum:0x00007ff1d2898fc0 @hash_type=:sha256, @hexdigest="d6071715cc4e5ad46877fd34d7099f53cedeba190667b510927f5775f3f48d4a"> with "d6071715cc4e5ad46877fd34d7099f53cedeba190667b510927f5775f3f48d4a"
Error: wrong argument type Checksum (expected Regexp)
Please report this issue:
  https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/utils/string_inreplace_extension.rb:36:in `gsub!'
/usr/local/Homebrew/Library/Homebrew/utils/string_inreplace_extension.rb:36:in `gsub!'
/usr/local/Homebrew/Library/Homebrew/utils/inreplace.rb:78:in `block in inreplace_pairs'
/usr/local/Homebrew/Library/Homebrew/utils/inreplace.rb:71:in `each'
/usr/local/Homebrew/Library/Homebrew/utils/inreplace.rb:71:in `inreplace_pairs'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/bump-cask-pr.rb:192:in `bump_cask_pr'
/usr/local/Homebrew/Library/Homebrew/brew.rb:119:in `<main>'

Output of brew doctor --verbose

==> Cask Environment Variables:
BUNDLE_PATH
CHRUBY_VERSION
GEM_HOME
GEM_PATH
HOMEBREW_CASK_OPTS
LC_ALL
PATH
RBENV_VERSION
RUBYLIB
RUBYOPT
RUBYPATH
SHELL
==> $LOAD_PATHS
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thor-1.0.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/sorbet-runtime-stub-0.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-macho-2.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-sorbet-0.5.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rspec-2.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-performance-1.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unicode-display_width-1.7.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-ast-1.1.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-wait-0.0.9/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-retry-0.6.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-its-1.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-3.10.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-mocks-3.10.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-expectations-3.10.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-core-3.10.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-support-3.10.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ronn-0.7.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rexml-3.2.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/regexp_parser-1.8.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rdiscount-2.2.0.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/pry-0.13.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/plist-3.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/patchelf-1.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parlour-4.0.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rainbow-3.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parser-2.7.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel_tests-3.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel-1.20.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mustache-1.1.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/method_source-1.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mechanize-2.7.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/webrobots-0.1.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ntlm-http-0.1.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/nokogiri-1.10.10/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mini_portile2-2.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-persistent-4.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-digest_auth-1.4.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-3.3.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/http-cookie-1.0.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/hpricot-0.8.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/elftools-1.1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/domain_name-0.5.20190701/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unf-0.1.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unf_ext-0.0.7.7/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/diff-lcs-1.4.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/connection_pool-2.2.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/commander-4.5.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/highline-2.0.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/colorize-0.8.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/coderay-1.1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/codecov-0.2.12/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-0.19.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-html-0.12.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/docile-1.3.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/json-2.3.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/byebug-11.1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/bindata-2.4.8/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ast-2.4.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/activesupport-6.0.3.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/zeitwerk-2.4.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tzinfo-1.2.8/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thread_safe-0.3.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/minitest-5.14.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/i18n-1.8.5/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby
/Library/Ruby/Site/2.6.0
/Library/Ruby/Site/2.6.0/universal-darwin20
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/universal-darwin20
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin20
/usr/local/Homebrew/Library/Homebrew
==> Homebrew Version
2.5.11-135-g419959c
==> macOS
11.0.1
==> SIP
Enabled
==> Java
15.0.1, 11.0.9, 1.8.0_275
==> Homebrew Cask Staging Location
/usr/local/Caskroom
==> Homebrew Cask Taps:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (3724 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-versions (167 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-fonts (1575 casks)
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed kegs have no formulae!
This means they were either deleted or installed with `brew diy`.
You should find replacements for the following formulae:
  python@2

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  rclone
  s3fs
  sshfs

Output of brew tap

cloudfoundry/tap
dart-lang/dart
homebrew/cask
homebrew/cask-fonts
homebrew/cask-versions
homebrew/core
homebrew/services
minio/stable
sass/sass
twilio/brew
zegervdv/zathura
@tbrodbeck
Copy link
Contributor Author

Now the checksum error is gone, thanks.
But I think I need to reopen the Issue because bumping again yields

fatal: A branch named 'bump-sf-symbols-2.1' already exists.
Error: Failure while executing; `git checkout --no-track -b bump-sf-symbols-2.1 origin/master` exited with 12

@miccal
Copy link
Member

miccal commented Nov 22, 2020

You need to delete your old branch first -- please run:

cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask; git branch -D bump-sf-symbols-2.1; cd

@tbrodbeck
Copy link
Contributor Author

tbrodbeck commented Nov 22, 2020

ok, now I am getting:

$ bump-cask-pr --version 2.1 sf-symbols
Error: You need to bump this cask manually since the new version
and old version are both 2.1.

Brew thinks is updated but the download link is still 2.0:

$ brew cask info sf-symbols                 
sf-symbols: 2.1
https://developer.apple.com/design/human-interface-guidelines/sf-symbols/overview/
/usr/local/Caskroom/sf-symbols/2.0 (2 files, 140.7MB)
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/sf-symbols.rb
==> Name
SF Symbols
==> Description
Tool that provides consistent, highly configurable symbols for apps
==> Artifacts
SF Symbols.pkg (Pkg)
==> Analytics
install: 165 (30 days), 366 (90 days), 1,032 (365 days)

@miccal
Copy link
Member

miccal commented Nov 22, 2020

What is the output of brew doctor and cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask; git status?

@tbrodbeck
Copy link
Contributor Author

tbrodbeck commented Nov 22, 2020

➜  homebrew-cask git:(master) ✗ brew doctor              
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed kegs have no formulae!
This means they were either deleted or installed with `brew diy`.
You should find replacements for the following formulae:
  python@2

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  rclone
  s3fs
  sshfs
➜  homebrew-cask git:(master) ✗  cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask; git status
On branch master
Your branch is up to date with 'origin/master'.

Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
	deleted:    .editorconfig
	[...]
	deleted:    tap_migrations.json

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	.editorconfig
	.gitattributes
	.github/
	.gitignore
	CONTRIBUTING.md
	Casks/
	LICENSE
	README.md
	USAGE.md
	cmd/
	developer/
	doc/
	tap_migrations.json

@miccal
Copy link
Member

miccal commented Nov 22, 2020

Changes to be committed:
...

This is not good -- please run brew update-reset then re-check the output of brew doctor and cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask; git status

@tbrodbeck
Copy link
Contributor Author

tbrodbeck commented Nov 22, 2020

Ok cool. Now I am getting:

$ brew bump-cask-pr --version 2.1 sf-symbols
==> Downloading https://devimages-cdn.apple.com/design/resources/download/SF-Symbols-2.dmg
Already downloaded: /Users/tillmann/Library/Caches/Homebrew/downloads/fb0713141345c207df81f5a7c795a5b134a399ecde5d68ba993cb4005b49ee77--SF-Symbols-2.dmg
Warning: Cannot verify integrity of 'fb0713141345c207df81f5a7c795a5b134a399ecde5d68ba993cb4005b49ee77--SF-Symbols-2.dmg'.
No checksum was provided for this resource.
For your reference, the checksum is:
  sha256 "d6071715cc4e5ad46877fd34d7099f53cedeba190667b510927f5775f3f48d4a"
==> replace "2.0" with "2.1"
==> replace "d6071715cc4e5ad46877fd34d7099f53cedeba190667b510927f5775f3f48d4a" with "d6071715cc4e5ad46877fd34d7099f53cedeba190667b510927f5775f3f48d4a"
audit for sf-symbols: passed

1 file inspected, no offenses detected
M	Casks/sf-symbols.rb
Switched to a new branch 'bump-sf-symbols-2.1'
[bump-sf-symbols-2.1 5b4f11046c] Update sf-symbols from 2.0 to 2.1
 1 file changed, 1 insertion(+), 1 deletion(-)
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 12 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 369 bytes | 369.00 KiB/s, done.
Total 4 (delta 3), reused 0 (delta 0)
remote: Resolving deltas: 100% (3/3), completed with 3 local objects.
To https://github.com/tbrodbeck/homebrew-cask.git
 ! [remote rejected]       bump-sf-symbols-2.1 -> bump-sf-symbols-2.1 (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/ci.yml` without `workflow` scope)
error: failed to push some refs to 'https://74057ccc6fa1bc79e88d960932f6fc52b4f18d0c@github.com/tbrodbeck/homebrew-cask.git'
Error: Failure while executing; `git push --set-upstream https://74057ccc6fa1bc79e88d960932f6fc52b4f18d0c@github.com/tbrodbeck/homebrew-cask.git bump-sf-symbols-2.1:bump-sf-symbols-2.1` exited with 1.

I am trying to create another token with more permissions (before I just took the default configuration)...

@tbrodbeck
Copy link
Contributor Author

tbrodbeck commented Nov 22, 2020

Ok after deleting the remote branch the command ran through: #93331
I am just not sure if it really updated (it still says 2.0 locally):

$ brew cask info sf-symbols                 
sf-symbols: 2.0
https://developer.apple.com/design/human-interface-guidelines/sf-symbols/overview/
/usr/local/Caskroom/sf-symbols/2.0 (2 files, 140.7MB)
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/sf-symbols.rb
==> Name
SF Symbols
==> Description
Tool that provides consistent, highly configurable symbols for apps
==> Artifacts
SF Symbols.pkg (Pkg)
==> Analytics
install: 165 (30 days), 366 (90 days), 1,032 (365 days)

@tbrodbeck
Copy link
Contributor Author

tbrodbeck commented Nov 22, 2020

Ok thanks for the merge. I just installed it. But it still downloads 2.0:

$ brew cask upgrade sf-symbols
Updating Homebrew...
Warning: Calling brew cask upgrade is deprecated! Use brew upgrade --cask instead.
==> Upgrading 1 outdated package:
sf-symbols 2.0 -> 2.1
==> Upgrading sf-symbols
==> Downloading https://devimages-cdn.apple.com/design/resources/download/SF-Symbols-2.dmg
Already downloaded: /Users/tillmann/Library/Caches/Homebrew/downloads/fb0713141345c207df81f5a7c795a5b134a399ecde5d68ba993cb4005b49ee77--SF-Symbols-2.dmg
==> Uninstalling packages:
==> Removing files:
/Applications/SF Symbols.app
hdiutil attach -plist -nobrowse -readonly -mountrandom /var/folders/bh/jqqn3bsj5c933dvg40_n_4sc0000gn/T/d20201122-67758-nsh37s /Users/tillmann/Library/Caches/Homebrew/downloads/fb0713141345c207df81f5a7c795a5b134a399ecde5d68ba993cb4005b49ee77--SF-Symbols-2.dmg
[...]
installer: The install was successful.
==> Purging files for version 2.0 of Cask sf-symbols
🍺  sf-symbols was successfully upgraded!

It should be https://devimages-cdn.apple.com/design/resources/download/SF-Symbols-2.1.dmg

@miccal
Copy link
Member

miccal commented Nov 22, 2020

#93332

@Homebrew Homebrew locked as resolved and limited conversation to collaborators Dec 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants