From b06427b98e7d54a90a980ccae146a0ca885e940a Mon Sep 17 00:00:00 2001 From: Rory Abraham Date: Tue, 8 Jun 2021 17:16:15 -0700 Subject: [PATCH] Fix versionCode regex to work on ubuntu --- .github/workflows/platformDeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/platformDeploy.yml b/.github/workflows/platformDeploy.yml index d52d921ebe03..b88c36088be7 100644 --- a/.github/workflows/platformDeploy.yml +++ b/.github/workflows/platformDeploy.yml @@ -48,7 +48,7 @@ jobs: LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }} - name: Set version in ENV - run: echo "VERSION_CODE=$(grep -o 'versionCode\s\+\d\+' android/app/build.gradle | awk '{ print $2 }')" >> $GITHUB_ENV + run: echo "VERSION_CODE=$(grep -o 'versionCode\s\+[0-9]\+' android/app/build.gradle | awk '{ print $2 }')" >> $GITHUB_ENV - name: Run Fastlane beta if: ${{ env.SHOULD_DEPLOY_PRODUCTION == 'false' }}