1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 07:41:46 -05:00

Use short sha

This commit is contained in:
Jon Beniston 2024-11-01 21:33:38 +00:00
parent 4f36b21d2e
commit 763438c7e5

View File

@ -49,7 +49,7 @@ jobs:
id: get_version
run: |
if [[ "${{github.ref_name}}" == "mac_ci" ]]; then
echo "version=${{github.sha}}" >> $GITHUB_OUTPUT
echo "version=$(echo ${{github.sha}} | cut -c1-7)" >> $GITHUB_OUTPUT
else
echo "version=$(echo ${{github.ref_name}} | cut -c2-)" >> $GITHUB_OUTPUT
fi
@ -108,7 +108,7 @@ jobs:
id: get_version
run: |
if [[ "${{github.ref_name}}" == "mac_ci" ]]; then
echo "version=${{github.sha}}" >> $GITHUB_OUTPUT
echo "version=$(echo ${{github.sha}} | cut -c1-7)" >> $GITHUB_OUTPUT
else
echo "version=$(echo ${{github.ref_name}} | cut -c2-)" >> $GITHUB_OUTPUT
fi