diff --git a/.github/workflows/release-linux.yaml b/.github/workflows/release-linux.yaml index 0b0989591..02b586417 100644 --- a/.github/workflows/release-linux.yaml +++ b/.github/workflows/release-linux.yaml @@ -81,10 +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 - ls ./_output/${{ env.RELEASE_VERSION }}/static/ - ls ./_output/${{ env.RELEASE_VERSION }}/static/amd64/ - ls ./_output/${{ env.RELEASE_VERSION }}/static/amd64/bin - STATIC_AMD64_BINARY_VERSION=$(./_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 | grep -oP 'v\d+\.\d+\.\d+') export RELEASE_VERSION=${{ env.RELEASE_VERSION }} if [ "$STATIC_AMD64_BINARY_VERSION" != "$RELEASE_VERSION" ]; then echo "Version mismatch"