From 8c76386ad2b834aa2d4a17c5cda177ceb8146759 Mon Sep 17 00:00:00 2001 From: Rian Stockbower Date: Sun, 25 Jan 2026 11:34:35 -0500 Subject: [PATCH] ci: fix snap build to use tag version The snap job was not checking out at the tag ref, causing git describe to fail to find tags. This resulted in snap packages being built with version 0+git. instead of the actual release version. Fixes #97 --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea85aa2..db1490d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -182,9 +182,12 @@ jobs: if: false # Temporarily disabled - waiting for personal-files interface approval needs: goreleaser runs-on: ubuntu-latest + env: + TAG: ${{ github.ref_name || inputs.tag }} steps: - uses: actions/checkout@v4 with: + ref: ${{ env.TAG }} fetch-depth: 0 - name: Build snap