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

(release): fix bump-homebrew-formula configuration #384

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

mislav
Copy link
Contributor

@mislav mislav commented Sep 27, 2023

The default value for download-url is:

https://github.com/OWNER/REPO/archive/refs/tags/<tag-name>.tar.gz

Which is what we want for the "url" field of the Homebrew formula and not the git clone URL. The "sha256" field will be automatically calculated upon new runme tag releases.

https://github.com/Homebrew/homebrew-core/blob/c3d5f19331d19bc7a396320a93f9a9485d6cec98/Formula/r/runme.rb#L4-L5

Reverts #332 /cc @christian-bromann @sourishkrout

Ref. mislav/bump-homebrew-formula-action#69
Ref. https://github.com/mislav/bump-homebrew-formula-action#action-inputs

The default value for `download-url` is:

    https://github.com/OWNER/REPO/archive/refs/tags/<tag-name>.tar.gz

Which is what we want for the "url" field of the Homebrew formula and not the git clone URL.
@duvanmonsa duvanmonsa merged commit fec8224 into stateful:main Oct 6, 2023
4 checks passed
@duvanmonsa
Copy link
Contributor

duvanmonsa commented Oct 6, 2023

@mislav thank you so much for the contribution. and the detailed info.

@mislav mislav deleted the patch-1 branch October 11, 2023 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants