From 890ee0865e9235d0f2472dbb529363bc08b09d79 Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Sun, 23 Jun 2019 02:13:36 -0700 Subject: [PATCH] Update formula-deploy.sh --- scripts/formula-deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/formula-deploy.sh b/scripts/formula-deploy.sh index f43689d1..482e0572 100755 --- a/scripts/formula-deploy.sh +++ b/scripts/formula-deploy.sh @@ -1,6 +1,8 @@ #!/bin/bash -# Deploys a new unifi-poller.rb formula file to golift/homebrew-tap. +# Deploys a new unifi-poller.rb formula file to golift/homebrew-tap. +# Requires SSH credentials in ssh-agent to work. +# Run by Travis-CI when a new release is created on GitHub. make unifi-poller.rb VERSION=$(grep -E '^\s*version\s*"' unifi-poller.rb | cut -d\" -f 2) @@ -12,8 +14,6 @@ git clone git@github.com:golift/homebrew-mugs.git cp unifi-poller.rb homebrew-mugs/Formula pushd homebrew-mugs -echo "Showing diff:" -git diff git commit -m "Update unifi-poller on Release: v${VERSION}" Formula/unifi-poller.rb git push popd