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
Comments
Now the checksum error is gone, thanks.
|
You need to delete your old branch first -- please run:
|
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) |
What is the output of |
➜ 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 |
This is not good -- please run |
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)... |
Ok after deleting the remote branch the command ran through: #93331 $ 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) |
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 |
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
Output of command
After following the instruction:
After trying out what happens if I
brew cask upgrade sf-symbols
, now it is this:Output of
brew doctor --verbose
Output of
brew tap
The text was updated successfully, but these errors were encountered: