Skip to content

Commit

Permalink
ci: remove brew audit (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
PengyuanZhao authored Mar 1, 2024
1 parent 6bc9e10 commit ace29d5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/update-cli-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@ main() {
currentVersion=$(cat "$cli_formula" | grep 'VERSION = '| sed 's/.*VERSION = "\(.*\)".freeze/\1/')

[[ $version != $currentVersion ]] || { echo >&2 "Formula is already on latest version"; exit 1; }

echo "Updating current: $currentVersion with latest: $version"
update_version $currentVersion $version

for target in ${TARGETS[*]}; do
replace_sha_sum $version $target
done

lint
push_update_formula $version
}

Expand Down Expand Up @@ -65,9 +64,5 @@ push_update_formula() {
git push origin main
}

lint() {
brew audit --formula "$cli_formula" --strict --fix
}

main "$@"

0 comments on commit ace29d5

Please sign in to comment.