Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

brew bump-cask-pr 怎么用? #41

Answered by Vulxan
Mrered asked this question in Q&A
Discussion options

You must be logged in to vote

抛砖引玉说说brew bump-cask-pr的用法。

https://github.com/ivaquero/homebrew-chinese/pull/42 为例在命令行运行brew bump-cask-pr --no-browse --version 1.3.8 clash-verge即可。
homebrew工具会自己下载安装包计算哈希值——修改并 commit 对应 cask .rb文件——打开一个将代码合并到主分支的 PR。

需要注意的是brew bump-cask-pr对于像 https://github.com/Homebrew/homebrew-cask/blob/master/Casks/f/feishu.rb 飞书这种针对不同架构发包的软件,这个命令只能修改到当前机器架构对应的那一部份(不确定这个问题如今是否还存在)。
可以手动下载另外一个包,然后用shasum这个软件来计算哈希值,如shasum -a 256 Feishu-darwin_x64-6.2.5-signed.dmg,然后再修改对应文件就行了。

Replies: 6 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

Mrered
Nov 1, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

Mrered
Nov 1, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

Mrered
Nov 1, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@Mrered
Comment options

Mrered Nov 1, 2023
Collaborator Author

@Mrered
Comment options

Mrered Nov 1, 2023
Collaborator Author

@ivaquero
Comment options

@ivaquero
Comment options

Comment options

You must be logged in to vote
4 replies
@Mrered
Comment options

Mrered Nov 1, 2023
Collaborator Author

@Vulxan
Comment options

@ivaquero
Comment options

@ivaquero
Comment options

Answer selected by Mrered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request question Further information is requested
3 participants