Merge pull request #1965 from r2d4/from-head

Use upstream branch for homebrew installer
pull/1966/head
Matt Rickard 2017-09-14 10:23:48 -07:00 committed by GitHub
commit 651128de1b
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ popd >/dev/null
git clone --depth 1 git@github.com:minikube-bot/homebrew-cask.git # dont't pull entire history
pushd homebrew-cask >/dev/null
git remote add upstream https://github.com/caskroom/homebrew-cask.git
git fetch upstream
git checkout upstream/master
git checkout -b ${REPLACE_PKG_VERSION}
sed -e "s/\$PKG_VERSION/${REPLACE_PKG_VERSION}/g" \
-e "s/\$MINIKUBE_DARWIN_SHA256/${REPLACE_MINIKUBE_DARWIN_SHA256}/g" \