# change this to desired ytt tag
export TAG=v0.0.0
# just for reference
echo "https://github.com/carvel-dev/ytt/blob/$TAG"
# test locally
goreleaser release --clean --snapshot
# push to ci
git tag -f "$TAG"
git push --tags
export TAG=v0.0.0
brew install "$(rb="$(mktemp -d)/ytt-ext.rb"; curl -o "$rb" "https://raw.githubusercontent.com/marxus/ytt-ext/main/brew/$TAG/ytt-ext.rb"; echo "$rb")"