use correct path to brew scripts
#!/bin/sh -exu
-${WORKSPACE}/src/main/scripts/brew-update-to-local
+"$(dirname "$0")"/brew-update-to-local
brew tap kframework/k "file://$(pwd)"
brew install $PACKAGE --build-bottle -v
-${WORKSPACE}/src/main/scripts/brew-update-to-local-bottle
+"$(dirname "$0")"/brew-update-to-local-bottle
git push -d origin brew-release-$PACKAGE || true
git checkout -b brew-release-$PACKAGE
git push origin brew-release-$PACKAGE
