Skip to content

Commit de2ad72

Browse files
committed
eas: clean and update build and update
1 parent a28afc7 commit de2ad72

File tree

5 files changed

+12
-18
lines changed

5 files changed

+12
-18
lines changed

.github/workflows/eas-development-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
run: pnpm gen:api
3636

3737
- name: 🚀 Build app
38-
run: eas build --non-interactive --profile development --platform all
38+
run: eas build --profile development --platform all --non-interactive

.github/workflows/eas-build.yml renamed to .github/workflows/eas-production-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
run: pnpm gen:api
3434

3535
- name: 🚀 Build app
36-
run: eas build --non-interactive
36+
run: eas build --profile production --platform all --non-interactive

.github/workflows/eas-update.yml renamed to .github/workflows/eas-production-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
run: pnpm gen:api
3434

3535
- name: 🚀 Create update
36-
run: eas update --auto --non-interactive
36+
run: eas update --auto --branch main --non-interactive

app.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ export default {
1111
scheme: 'start-ui-native',
1212
owner: 'bearstudio',
1313
version: '1.0.0',
14-
runtimeVersion: '1.0.0',
14+
runtimeVersion: {
15+
policy: 'appVersion',
16+
},
1517
platforms: ['android', 'ios'],
1618
orientation: 'default',
1719
icon: './src/assets/images/icon.png',

eas.json

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,7 @@
66
"build": {
77
"development": {
88
"channel": "development",
9-
"distribution": "internal",
109
"developmentClient": true,
11-
"ios": {
12-
"simulator": true
13-
}
14-
},
15-
"development-device": {
16-
"extends": "development",
17-
"ios": {
18-
"simulator": false
19-
}
20-
},
21-
"preview": {
22-
"channel": "preview",
2310
"distribution": "internal"
2411
},
2512
"production": {
@@ -28,6 +15,11 @@
2815
}
2916
},
3017
"submit": {
31-
"production": {}
18+
"production": {
19+
"ios": {},
20+
"android": {
21+
"releaseStatus": "draft"
22+
}
23+
}
3224
}
3325
}

0 commit comments

Comments
 (0)