kyma-cli: fix checksum mismatch, update head branch, and ldflags#88858
kyma-cli: fix checksum mismatch, update head branch, and ldflags#88858chenrui333 wants to merge 1 commit intoHomebrew:masterfrom
Conversation
Signed-off-by: Rui Chen <rui@chenrui.dev>
| homepage "https://kyma-project.io" | ||
| url "https://github.com/kyma-project/cli/archive/1.24.7.tar.gz" | ||
| sha256 "c2465d50f0f2c082fc9bc73ccfac4be824cc826980ab263b8b4ce00dcdcc5b9f" | ||
| sha256 "61dcec274376227c8130b2fd6106c5231f878d949f85972182dadacc0396e460" |
There was a problem hiding this comment.
I am not sure where did you get this checksum. I just checked the checksums.txt in the kyma cli release 1.24.7: https://github.com/kyma-project/cli/releases/tag/1.24.7 here the checksum for darwin is different 6cf1e17fb2856adc6d6d18b4e111ca5b495a4722bc8a2750995c930332941b1b.
There was a problem hiding this comment.
This is 1.24.7.tar.gz, not kyma_Darwin_x86_64.tar.gz.
We do not use pre-built binaries in homebrew-core.
| license "Apache-2.0" | ||
| head "https://github.com/kyma-project/cli.git" | ||
| revision 1 | ||
| head "https://github.com/kyma-project/cli.git", branch: "main" |
There was a problem hiding this comment.
I am curious what does the head and branch signify here.
There was a problem hiding this comment.
The git repo and branch to use if someone were to run brew install --HEAD kyma-cli, which takes the latest commit rather than a released tag.
We don't actively CI test this scenario though, so it's very much YMMV.
|
brew install --build-from-source <formula>, where<formula>is the name of the formula you're submitting?brew test <formula>, where<formula>is the name of the formula you're submitting?brew audit --strict <formula>(after doingbrew install --build-from-source <formula>)? If this is a new formula, does it passbrew audit --new <formula>?relates to #88329