Fix dev release artifact path (#654)

This commit is contained in:
Matt
2022-12-27 12:55:59 -08:00
committed by GitHub
parent cf1a45d35b
commit 14d263a567
2 changed files with 9 additions and 16 deletions

View File

@@ -2,7 +2,7 @@
# Not that it really matters, but it'll save us 50 megs or so
NEW_JAR=$(realpath $(find . -name photonvision\*-linuxarm32.jar))
echo "Using jar: " $NEW_JAR
sudo apt install xz-utils
sudo apt-get install -y xz-utils
curl -sk https://api.github.com/repos/photonvision/photon-pi-gen/releases/tags/v2023.1.0-beta-1 | grep "browser_download_url.*xz" | cut -d : -f 2,3 | tr -d '"' | wget -qi -
ls
FILE_NAME=$(ls | grep image_*.xz)