mirror of
https://github.com/unpoller/unpoller.git
synced 2026-10-21 19:31:55 +02:00
Add new deploy setup.
make it deploy.
This commit is contained in:
@@ -6,14 +6,12 @@ make unifi-poller.rb
|
||||
VERSION=$(grep -E '^\s*version\s*"' unifi-poller.rb | cut -d\" -f 2)
|
||||
|
||||
rm -rf homebrew-repo
|
||||
git clone https://$GITHUB_API_KEY@github.com/golift/homebrew-repo.git
|
||||
git clone git@github.com:golift/homebrew-repo.git
|
||||
|
||||
cp unifi-poller.rb homebrew-repo/Formula
|
||||
pushd homebrew-repo
|
||||
echo "Showing diff:"
|
||||
git diff
|
||||
git config user.name "unifi-poller-bot"
|
||||
git config user.email "unifi@poller.bot"
|
||||
git commit -m "Update unifi-poller on Release: v${VERSION}" Formula/unifi-poller.rb
|
||||
git push
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user