cd to SRC_DIR to avoid brew error

pull/7400/head
Thomas Stromberg 2020-04-02 20:55:11 -07:00
parent 7b52f156eb
commit 29dbb5c033
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@ export HOMEBREW_GITHUB_API_TOKEN="${access_token}"
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
export PATH=/home/linuxbrew/.linuxbrew/bin:$PATH
# avoid "error: you need to resolve your current index first" message
cd "${SRC_DIR}"
brew bump-formula-pr \
--strict minikube \
--revision="${revision}" \