Skip to content

Commit

Permalink
Merge pull request #3456 from Expensify/Rory-FixVersionCodeRegex
Browse files Browse the repository at this point in the history
Fix versionCode regex to work on ubuntu
  • Loading branch information
roryabraham authored Jun 9, 2021
2 parents 965e3a2 + b06427b commit b55cdd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/platformDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down

0 comments on commit b55cdd3

Please sign in to comment.