Skip to content

Commit

Permalink
Use livehouse-automation for release
Browse files Browse the repository at this point in the history
  • Loading branch information
antonywinn committed Sep 24, 2022
1 parent 9cf4166 commit 51c9c08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM phusion/baseimage:0.9.18

MAINTAINER aptalca
MAINTAINER livehouse-automaton

VOLUME ["/config"]

Expand Down
4 changes: 2 additions & 2 deletions firstrun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ if [ ! -z $VERSION ]; then
echo "Manual version override:" $VERSION
else
#Check the latest version on github
VERSION="$(curl -sX GET https://api.github.com/repos/bwssytems/ha-bridge/releases/latest | grep 'tag_name' | cut -d\" -f4)"
VERSION="$(curl -sX GET https://api.github.com/repos/livehouse-automation/ha-bridge/releases/latest | grep 'tag_name' | cut -d\" -f4)"
VERSION=${VERSION:1}
echo "Latest version on bwssystems github repo is" $VERSION
fi

if [ ! -f /config/ha-bridge-"$VERSION".jar ]; then
echo "Installing version '$VERSION'"
wget https://github.com/bwssytems/ha-bridge/releases/download/v"$VERSION"/ha-bridge-"$VERSION".jar
wget https://github.com/livehouse-automation/ha-bridge/releases/download/v"$VERSION"/ha-bridge-"$VERSION".jar
else
echo "Using existing version '$VERSION'"
fi
Expand Down

0 comments on commit 51c9c08

Please sign in to comment.