Skip to content

Commit cfae8bc

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

File tree

5 files changed

+13
-20
lines changed

5 files changed

+13
-20
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: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,19 @@
66
"build": {
77
"development": {
88
"channel": "development",
9-
"distribution": "internal",
10-
"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",
23-
"distribution": "internal"
9+
"developmentClient": true
2410
},
2511
"production": {
2612
"channel": "production",
2713
"autoIncrement": true
2814
}
2915
},
3016
"submit": {
31-
"production": {}
17+
"production": {
18+
"ios": {},
19+
"android": {
20+
"releaseStatus": "draft"
21+
}
22+
}
3223
}
3324
}

0 commit comments

Comments
 (0)