Repository navigation
move Homebrew formula to jrnxf/homebrew-tap, update it on release - #35
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the Homebrew formula out of this repository into https://github.com/jrnxf/homebrew-tap, so the install reads
brew install jrnxf/tap/thokrand needs no clone address.Formula/thokr.rb,scripts/bump-formula.sh, and theformula-changesandhomebrewjobs frombuild.yml. The other jobs are unchanged.brew install jrnxf/tap/thokr; thebrew taplines and the maintainer note about bumping the formula here are gone.deploy.yml: newtapjob,needs: crates, so it does not run if the crate publish failed. It checks outjrnxf/homebrew-tapwith theTAP_DEPLOY_KEYdeploy key, runs the tap'sscripts/bump-formula.sh thokr <tag>, commits and pushes.Testing
actionlintis not available here, so I read the workflow against the tap's script by hand: the script takes<formula> <version>and strips a leadingv, sorelease.tag_nameworks as is. It rewritesurlandsha256inFormula/thokr.rbin the tap and reads the archive of the release tag.A release cannot be made to test this, since publishing a crate cannot be undone. The tap job first runs for real at the next release.