File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -euo pipefail
4+
5+ if ! VERSION=" $( git describe --tags --exact-match 2> /dev/null) " ; then
6+ echo " Skipping public release for an untagged commit."
7+ echo " ##teamcity[buildStatus status='SUCCESS' text='Skipped due to lack of tag']"
8+ exit 0
9+ fi
10+
11+ if [[ " ${HOMEBREW_GITHUB_API_TOKEN:- } " == " " ]] ; then
12+ echo " Missing GITHUB_API_TOKEN"
13+ exit 1
14+ fi
15+
16+ # "install" Homebrew
17+ git clone https://github.com/Homebrew/brew tmp/homebrew
18+ eval " $( tmp/homebrew/bin/brew shellenv) "
19+ brew update --force --quiet
20+ chmod -R go-w " $( brew --prefix) /share/zsh"
21+
22+ # bump formula pr
23+ brew bump-formula-pr cloudflared
Original file line number Diff line number Diff line change @@ -192,8 +192,10 @@ stretch: &stretch
192192 builddeps :
193193 - openssh-client
194194 - s3cmd
195+ - jq
195196 post-cache :
196197 - .teamcity/update-homebrew.sh
198+ - .teamcity/update-homebrew-core.sh
197199 github-message-release :
198200 build_dir : *build_dir
199201 builddeps :
You can’t perform that action at this time.
0 commit comments