mirror of
https://github.com/unpoller/unpoller.git
synced 2026-10-22 05:09:10 +02:00
fix version on homebrew commit
This commit is contained in:
@@ -5,8 +5,7 @@
|
||||
# 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)
|
||||
|
||||
VERSION=$(grep -E '^\s+url\s+"' unifi-poller.rb | cut -d/ -f7 | cut -d. -f1,2,3)
|
||||
rm -rf homebrew-mugs
|
||||
git config --global user.email "unifi@auto.releaser"
|
||||
git config --global user.name "unifi-auto-releaser"
|
||||
@@ -14,6 +13,6 @@ git clone git@github.com:golift/homebrew-mugs.git
|
||||
|
||||
cp unifi-poller.rb homebrew-mugs/Formula
|
||||
pushd homebrew-mugs
|
||||
git commit -m "Update unifi-poller on Release: v${VERSION}" Formula/unifi-poller.rb
|
||||
git commit -m "Update unifi-poller on Release: ${VERSION}" Formula/unifi-poller.rb
|
||||
git push
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user