Skip to content

Commit

Permalink
formulae: use livecheck --autobump option
Browse files Browse the repository at this point in the history
We recently modified the behavior of `brew livecheck` to skip
packages in the tap's autobump list, so this change is causing
autobumped formulae to fail the `brew livecheck` part of CI testing.
This adds the `--autobump` option to the `brew livecheck` call, which
will ensure that livecheck doesn't skip autobumped formulae.
  • Loading branch information
samford committed Jan 4, 2025
1 parent 72bbef6 commit adc8b1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/tests/formulae.rb
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,8 @@ def livecheck(formula)
return unless formula.livecheck_defined?
return if formula.livecheck.skip?

livecheck_step = test "brew", "livecheck", "--formula", "--json", "--full-name", formula.full_name
livecheck_step = test "brew", "livecheck", "--autobump", "--formula",
"--json", "--full-name", formula.full_name

return if livecheck_step.failed?
return unless livecheck_step.output?
Expand Down

0 comments on commit adc8b1c

Please sign in to comment.