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
|
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
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user