Archived
1
0

feat: add brew job to publish.yaml

This commit is contained in:
Joe Previte
2021-03-31 14:55:43 -07:00
parent 5a1ea2cf75
commit 5b9f6bbe45
2 changed files with 29 additions and 0 deletions

13
ci/steps/brew-bump.sh Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
# Only sourcing this so we get access to $VERSION
source ./ci/lib.sh
# Find the docs for bump-formula-pr here
# https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18
brew bump-formula-pr --force --version="${VERSION}" code-server --no-browse --no-audit
}
main "$@"