Bump Cask/Formula PR for Intel and M1 #561
Replies: 3 comments 10 replies
-
Edit: See Homebrew/brew#10345 This may require new syntax similar to the |
Beta Was this translation helpful? Give feedback.
-
Additional findings. There's a new release for And I would expect if I were to run So, back to the original question. How would one got about creating bump PRs for both architectures via See console output: $ brew bump-cask-pr --dry-run --debug --verbose --version 1.53.0,eaa959d34b863dec932077d94daece22504a396b visual-studio-code-insiders
git config --replace-all homebrew.devcmdrun true
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/2.7.5-39-ge8667b6\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location https://api.github.com/search/issues\?q=visual-studio-code-insiders\+repo\%3AHomebrew\%2Fhomebrew-cask-versions\+state\%3Aopen\+in\%3Atitle\&per_page=100 --header Accept:\ application/vnd.github.v3\+json --write-out '
'\%\{http_code\} --header Accept:\ application/vnd.github.antiope-preview\+json --header Authorization:\ token\ ****** --dump-header /private/tmp/github_api_headers20210118-5063-1p29flh
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/2.7.5-39-ge8667b6\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://az764295.vo.msecnd.net/insider/eaa959d34b863dec932077d94daece22504a396b/VSCode-darwin.zip
==> Downloading https://az764295.vo.msecnd.net/insider/eaa959d34b863dec932077d94daece22504a396b/VSCode-darwin.zip
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/2.7.5-39-ge8667b6\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --range 0-1 --dump-header - --write-out \%\{http_code\} --output /dev/null https://az764295.vo.msecnd.net/insider/eaa959d34b863dec932077d94daece22504a396b/VSCode-darwin.zip
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/2.7.5-39-ge8667b6\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --fail --retry 3 --location --remote-time --continue-at 0 --output /Users/thecesrom/Library/Caches/Homebrew/downloads/e624e9214433234cd554f44a065bbd91ee29fd59d9e78d7dd4eb0caa0948a47f--VSCode-darwin.zip.incomplete https://az764295.vo.msecnd.net/insider/eaa959d34b863dec932077d94daece22504a396b/VSCode-darwin.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 97.1M 100 97.1M 0 0 19.3M 0 0:00:05 0:00:05 --:--:-- 20.1M
==> Verifying checksum for 'e624e9214433234cd554f44a065bbd91ee29fd59d9e78d7dd4eb0caa0948a47f--VSCode-darwin.zip'.
Warning: Cannot verify integrity of 'e624e9214433234cd554f44a065bbd91ee29fd59d9e78d7dd4eb0caa0948a47f--VSCode-darwin.zip'.
No checksum was provided for this resource.
For your reference, the checksum is:
sha256 "8a0090341f35b61bb879242b3a7517467a46ed46943b8811c7737c349c135bcf"
==> replace /version\s+["']1\.53\.0,1a6eef3170be2a11751ee50d450328d458f7bfac["']/m with "version \"1.53.0,eaa959d34b863dec932077d94daece22504a396b\""
==> replace /sha256\s+["']a1b2ddc719b1201e63c63268e13a9528e56779f63670120b393e73710022f56a["']/m with "sha256 \"8a0090341f35b61bb879242b3a7517467a46ed46943b8811c7737c349c135bcf\""
==> brew audit --cask visual-studio-code-insiders.rb
==> brew style --fix visual-studio-code-insiders.rb
/usr/local/Homebrew/Library/Homebrew/shims/scm/git --version
==> try to fork repository with GitHub API
==> git add /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-versions/Casks/visual-studio-code-insiders.rb
==> git checkout --no-track -b bump-visual-studio-code-insiders-1.53.0-eaa959d34b863dec932077d94daece22504a396b origin/master
==> git commit --no-edit --verbose --message='Update visual-studio-code-insiders from 1.53.0,1a6eef3170be2a11751ee50d450328d458f7bfac to 1.53.0,eaa959d34b863dec932077d94daece22504a396b' -- /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-versions/Casks/visual-studio-code-insiders.rb
==> git push --set-upstream $HUB_REMOTE bump-visual-studio-code-insiders-1.53.0-eaa959d34b863dec932077d94daece22504a396b:bump-visual-studio-code-insiders-1.53.0-eaa959d34b863dec932077d94daece22504a396b
==> git checkout --quiet -
==> create pull request with GitHub API (base branch: master) |
Beta Was this translation helpful? Give feedback.
-
Excuse me, what is the progress of this discussion? |
Beta Was this translation helpful? Give feedback.
-
I assume that a simple
brew bump-[cask|formula]-pr
won't work for casks or formulae that have different download links; one for Intel Macs, and one for M1.For cask-versions that may release on a daily basis a manual PR will have to wait for approval from a maintainer instead of being automatically approved by BrewTestBot. Or at least that's my idea.
Is there something in the works or maybe something already in place for "bumping" versions for casks or formulae that fit this scenario?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions