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