1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 15:51:47 -05:00

Fix syntax

This commit is contained in:
Jon Beniston 2024-10-31 16:07:48 +00:00
parent ede06e2ca8
commit 4d6d97538c

View File

@ -20,7 +20,7 @@ jobs:
- name: Get version - name: Get version
id: get_version id: get_version
run: | run: |
if [[ "${{github.ref_name}" == "snap" ]]; then if [[ "${{github.ref_name}}" == "snap" ]]; then
echo "version=${{github.sha}}" >> $GITHUB_OUTPUT echo "version=${{github.sha}}" >> $GITHUB_OUTPUT
else else
echo "version=$(echo ${{github.ref_name}} | cut -c2-)" >> $GITHUB_OUTPUT echo "version=$(echo ${{github.ref_name}} | cut -c2-)" >> $GITHUB_OUTPUT