mirror of
https://github.com/coder/code-server.git
synced 2024-12-05 07:13:06 +08:00
14 lines
392 B
Bash
14 lines
392 B
Bash
|
#!/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 "$@"
|