Skip to content

Commit

Permalink
add sudo
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Alvarez <[email protected]>
  • Loading branch information
pendo324 committed Oct 18, 2024
1 parent 997591f commit e3815dc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e3815dc

Please sign in to comment.