From 78eb7a5db0e0166b0c5433b9a8bd1f7561227cd3 Mon Sep 17 00:00:00 2001 From: Rian Stockbower Date: Sun, 25 Jan 2026 11:34:34 -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 #74 --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57c9669..4b649c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -247,9 +247,12 @@ jobs: snap: 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