github: Fix bygfoot version name in the windows branch

This commit is contained in:
Tom Stellard 2022-05-03 07:04:18 -07:00
parent 3df6b162a1
commit bf4734daf2
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ jobs:
bygfoot_version=${{ github.head_ref }}-${{ github.sha }}
fi
if echo ${{ github.ref_name }} | grep 'windows-build'; then
bygfoot_version=`echo ${{ github.ref_name }} | sed 's/windows-build-//g'`
fi
tarname=bygfoot-$bygfoot_version-${{ matrix.name }}
echo "::set-output name=is-tag::$is_tag"
echo "::set-output name=bygfoot-version::$bygfoot_version"