Skip to content

Commit

Permalink
Fixing update-formula-version.yaml. Copying only the modified files f…
Browse files Browse the repository at this point in the history
…or brew audit. (#82)
  • Loading branch information
gargsans-yb authored Apr 1, 2024
1 parent 44a17e9 commit 12f9597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-formula-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
run: |
# https://github.com/orgs/Homebrew/discussions/4864
brew tap-new homebrew-releaser/test --no-git
cp -r Formulas/* $(brew --repository)/Library/Taps/homebrew-releaser/homebrew-test/Formula
for file in ${{steps.update-yb-formula.outputs.modified_files}}; do
if [[ "${file}" =~ .*\/Formula\/yugabytedb(@[0-9]+\.[0-9]+)?\.rb ]]; then
cp -r ${file} $(brew --repository)/Library/Taps/homebrew-releaser/homebrew-test/Formula/.
brew audit --strict --online --formula "$(basename ${file%.rb})"
fi
done
Expand Down

0 comments on commit 12f9597

Please sign in to comment.