Skip to content

Commit

Permalink
Merge pull request #1330 from andrew-bierman/andrew_testing
Browse files Browse the repository at this point in the history
Andrew testing
  • Loading branch information
taronaleksanian authored Oct 29, 2024
2 parents e842b30 + 499fdef commit c16079a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/eas-cloud.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Native production pipeline
# Native production pipeline
# Builds on EAS Cloud with auto submission
name: EAS Build & Submit

on:
workflow_dispatch:
workflow_dispatch:
push:
branches:
branches:
- main
paths:
- 'packages/app/**'
Expand Down Expand Up @@ -35,6 +35,15 @@ jobs:
working-directory: ${{ github.workspace }}/apps/expo
run: echo "$(jq '.submit.production.ios.ascAppId = "${{ secrets.ASC_APP_ID }}"' eas.json)" > eas.json

- name: Get Build Version
working-directory: ./apps/expo
shell: bash
run: |
MAJOR_MINOR_VERSIONS=$(jq -r '.expo.version' app.json)
PATCH_VERSION=${{ github.run_number }}
APP_VERSION="${MAJOR_MINOR_VERSIONS%.*}.$PATCH_VERSION"
jq --arg version "$APP_VERSION" '.expo.version = $version' app.json > app.json.temp && mv app.json.temp app.json
- name: Build on EAS
working-directory: ./apps/expo
run: eas build --platform all --profile production --non-interactive --no-wait --auto-submit
run: eas build --platform all --profile production --non-interactive --no-wait --auto-submit
1 change: 1 addition & 0 deletions apps/expo/eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
}
},
"preview": {
"autoIncrement": true,
"distribution": "internal",
"ios": {
"resourceClass": "m-medium"
Expand Down

0 comments on commit c16079a

Please sign in to comment.