From 91a45be400573482bbcfd4a3721101c80e9c9430 Mon Sep 17 00:00:00 2001 From: Weston Blieden <111699155+Mo3he@users.noreply.github.com> Date: Thu, 28 Aug 2025 11:35:04 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 578442d..ebfae87 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,19 @@ jobs: VERSION=${VERSION#v} # remove leading 'v' echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV echo "version=$VERSION" >> $GITHUB_OUTPUT + + - name: Get current repo version + id: current + run: | + CURRENT=$(jq -r '.version' arm/app/manifest.json) + echo "CURRENT_VERSION=$CURRENT" >> $GITHUB_ENV + echo "Current repo version: $CURRENT" + + - name: Skip if no new version + if: env.RELEASE_VERSION == env.CURRENT_VERSION + run: | + echo "No new Tailscale release. Skipping build." + exit 0 # 3. Download Tailscale binaries - name: Download Tailscale binaries