From 4d6d97538c1e5e32976a1754cb2e307c6e197463 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Thu, 31 Oct 2024 16:07:48 +0000 Subject: [PATCH] Fix syntax --- .github/workflows/snap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml index 4cf82f584..a1e094fb6 100644 --- a/.github/workflows/snap.yml +++ b/.github/workflows/snap.yml @@ -20,7 +20,7 @@ jobs: - name: Get version id: get_version run: | - if [[ "${{github.ref_name}" == "snap" ]]; then + if [[ "${{github.ref_name}}" == "snap" ]]; then echo "version=${{github.sha}}" >> $GITHUB_OUTPUT else echo "version=$(echo ${{github.ref_name}} | cut -c2-)" >> $GITHUB_OUTPUT