Tighten automatic upstream version tracking
Watch Upstream triangles_v5 / Check for New Releases (push) Has been cancelled
Watch Upstream triangles_v5 / Check for New Releases (push) Has been cancelled
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM ubuntu:24.04
|
||||
|
||||
ARG TRIANGLES_VERSION=v5.5.0
|
||||
ARG TRIANGLES_VERSION=v5.7.6
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git build-essential libtool autotools-dev automake pkg-config \
|
||||
|
||||
+2
-2
@@ -32,8 +32,8 @@ echo "✓ ARM64 detected"
|
||||
echo "🔍 Checking latest release..."
|
||||
VERSION=$(curl -sL https://api.github.com/repos/SamiAhmed7777/tri-pi/releases/latest | grep '"tag_name"' | cut -d'"' -f4)
|
||||
if [ -z "$VERSION" ]; then
|
||||
echo "⚠️ Could not detect latest version, using v5.5.0"
|
||||
VERSION="v5.5.0"
|
||||
echo "⚠️ Could not detect latest version"
|
||||
exit 1
|
||||
fi
|
||||
echo " Latest: $VERSION"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user