From c41747ba36afa9d6cecf10ce26912fe26b098b24 Mon Sep 17 00:00:00 2001 From: Sean Greenawalt Date: Sun, 21 Sep 2025 20:27:07 -0400 Subject: [PATCH] Fix $latest_tag not set in check-latest-tag.check --- .forgejo/workflows/publish-patch.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/publish-patch.yaml b/.forgejo/workflows/publish-patch.yaml index 7fb9b0b..285bfe5 100644 --- a/.forgejo/workflows/publish-patch.yaml +++ b/.forgejo/workflows/publish-patch.yaml @@ -27,6 +27,7 @@ jobs: - name: Compare with Latest Published Tag id: check run: | + latest_tag="${{ steps.get_tag.outputs.latest_tag }}" latest_published_tag=$(curl -s -u :${{ secrets.TOKEN }} https://git.spgrn.com/v2/seang96/stirling-pdf/tags/list 2>/dev/null | jq -r '.tags[]' 2>/dev/null | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+-fat$' 2>/dev/null | sed 's/-fat$//' 2>/dev/null | sort -V | tail -1 || echo "") echo "Latest published tag: $latest_published_tag" if [ "$latest_tag" = "$latest_published_tag" ]; then