Skip to content

Commit

Permalink
Merge pull request #5986 from signalco-io/fix/station/update-script-s…
Browse files Browse the repository at this point in the history
…table

fix(station): Update script for stable download broken
  • Loading branch information
AleksandarDev authored Sep 29, 2024
2 parents 812fa7b + 0dbb946 commit 2559a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion station/Signal.Beacon.WorkerService/rpi-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ then
URL=$( echo $RELEASE_JSON | jq -r 'map(select(.prerelease)) | first | .assets[] | select(.name | test("station-v(.*)-linux-arm64.tar.gz")) | .browser_download_url' )
else
echo "Determining stable version..."
RELEASE_JSON=$( curl -s $"https://api.github.com/repos/signalco-io/station/signalco/latest" )
RELEASE_JSON=$( curl -s $"https://api.github.com/repos/signalco-io/signalco/releases/latest" )
VER=$( echo $RELEASE_JSON | jq -r '.tag_name' )
URL=$( echo $RELEASE_JSON | jq -r '.assets[] | select(.name | test("station-v(.*)-linux-arm64.tar.gz")) | .browser_download_url' )
fi
Expand Down

0 comments on commit 2559a49

Please sign in to comment.