mirror of
https://github.com/unpoller/unpoller.git
synced 2026-09-30 03:21:28 +02:00
Fix homebrew build.
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
make unifi-poller.rb
|
||||
VERSION=$(grep -E '^\s*version\s*"' unifi-poller.rb | cut -d\" -f 2)
|
||||
|
||||
rm -rf homebrew-repo
|
||||
rm -rf homebrew-mugs
|
||||
git config --global user.email "unifi@auto.releaser"
|
||||
git config --global user.name "unifi-auto-releaser"
|
||||
git clone git@github.com:golift/homebrew-repo.git
|
||||
git clone git@github.com:golift/homebrew-mugs.git
|
||||
|
||||
cp unifi-poller.rb homebrew-repo/Formula
|
||||
pushd homebrew-repo
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user