diff --git a/.github/workflows/release-linux.yaml b/.github/workflows/release-linux.yaml index cb40e3826..3c1b3392a 100644 --- a/.github/workflows/release-linux.yaml +++ b/.github/workflows/release-linux.yaml @@ -81,7 +81,7 @@ jobs: run: | mkdir -p ./_output/${{ env.RELEASE_VERSION }}/static/amd64 tar -xzf ./_output/${{ steps.build.outputs.STATIC_AMD64_BINARY_NAME }} -C ./_output/${{ env.RELEASE_VERSION }}/static/amd64 - STATIC_AMD64_BINARY_VERSION=$(sudo ./_output/${{ env.RELEASE_VERSION }}/static/amd64/bin/finch --version | grep -oP 'v\d+\.\d+\.\d+') + STATIC_AMD64_BINARY_VERSION=$(sudo ./_output/${{ env.RELEASE_VERSION }}/static/amd64/bin/finch --version | sed -n 's/finch version //p') export RELEASE_VERSION=${{ env.RELEASE_VERSION }} if [ "$STATIC_AMD64_BINARY_VERSION" != "$RELEASE_VERSION" ]; then echo "Version mismatch"