mirror of https://github.com/coder/code-server.git
feat: add message to brew publish (#5341)
This commit is contained in:
parent
f79b38d25a
commit
e189435a6a
|
@ -23,7 +23,7 @@ main() {
|
||||||
# Find the docs for bump-formula-pr here
|
# Find the docs for bump-formula-pr here
|
||||||
# https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18
|
# https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18
|
||||||
local output
|
local output
|
||||||
if ! output=$(brew bump-formula-pr --version="${VERSION}" code-server --no-browse --no-audit 2>&1); then
|
if ! output=$(brew bump-formula-pr --version="${VERSION}" code-server --no-browse --no-audit --message="PR opened by @${GITHUB_ACTOR}" 2>&1); then
|
||||||
if [[ $output == *"Duplicate PRs should not be opened"* ]]; then
|
if [[ $output == *"Duplicate PRs should not be opened"* ]]; then
|
||||||
echo "$VERSION is already submitted"
|
echo "$VERSION is already submitted"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue