Tighten automatic upstream version tracking
Watch Upstream triangles_v5 / Check for New Releases (push) Has been cancelled

This commit is contained in:
Krystie
2026-04-08 04:08:49 -07:00
parent 799443b248
commit 57711318a7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
FROM ubuntu:24.04 FROM ubuntu:24.04
ARG TRIANGLES_VERSION=v5.5.0 ARG TRIANGLES_VERSION=v5.7.6
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
git build-essential libtool autotools-dev automake pkg-config \ git build-essential libtool autotools-dev automake pkg-config \
+2 -2
View File
@@ -32,8 +32,8 @@ echo "✓ ARM64 detected"
echo "🔍 Checking latest release..." echo "🔍 Checking latest release..."
VERSION=$(curl -sL https://api.github.com/repos/SamiAhmed7777/tri-pi/releases/latest | grep '"tag_name"' | cut -d'"' -f4) VERSION=$(curl -sL https://api.github.com/repos/SamiAhmed7777/tri-pi/releases/latest | grep '"tag_name"' | cut -d'"' -f4)
if [ -z "$VERSION" ]; then if [ -z "$VERSION" ]; then
echo "⚠️ Could not detect latest version, using v5.5.0" echo "⚠️ Could not detect latest version"
VERSION="v5.5.0" exit 1
fi fi
echo " Latest: $VERSION" echo " Latest: $VERSION"