eas-cli 3.6.1 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -52
- package/build/build/android/build.js +2 -1
- package/build/build/android/graphql.js +2 -0
- package/build/build/android/prepareJob.js +15 -6
- package/build/build/graphql.d.ts +1 -1
- package/build/build/graphql.js +8 -1
- package/build/build/ios/credentials.js +2 -1
- package/build/build/ios/graphql.js +3 -1
- package/build/build/ios/prepareJob.js +29 -19
- package/build/build/metadata.js +1 -0
- package/build/build/runBuildAndSubmit.js +2 -0
- package/build/build/utils/printBuildInfo.js +10 -6
- package/build/commands/update/index.js +21 -4
- package/build/graphql/generated.d.ts +37 -45
- package/build/graphql/generated.js +3 -0
- package/build/project/android/gradleUtils.js +1 -1
- package/build/project/customBuildConfig.d.ts +4 -0
- package/build/project/customBuildConfig.js +22 -0
- package/build/project/publish.d.ts +22 -0
- package/build/project/publish.js +51 -6
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -130,7 +130,7 @@ ALIASES
|
|
|
130
130
|
$ eas login
|
|
131
131
|
```
|
|
132
132
|
|
|
133
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
133
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
134
134
|
|
|
135
135
|
## `eas account:logout`
|
|
136
136
|
|
|
@@ -147,7 +147,7 @@ ALIASES
|
|
|
147
147
|
$ eas logout
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
150
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
151
151
|
|
|
152
152
|
## `eas account:view`
|
|
153
153
|
|
|
@@ -164,7 +164,7 @@ ALIASES
|
|
|
164
164
|
$ eas whoami
|
|
165
165
|
```
|
|
166
166
|
|
|
167
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
167
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
168
168
|
|
|
169
169
|
## `eas analytics [STATUS]`
|
|
170
170
|
|
|
@@ -178,7 +178,7 @@ DESCRIPTION
|
|
|
178
178
|
display or change analytics settings
|
|
179
179
|
```
|
|
180
180
|
|
|
181
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
181
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
182
182
|
|
|
183
183
|
## `eas autocomplete [SHELL]`
|
|
184
184
|
|
|
@@ -228,7 +228,7 @@ DESCRIPTION
|
|
|
228
228
|
create a branch
|
|
229
229
|
```
|
|
230
230
|
|
|
231
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
231
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
232
232
|
|
|
233
233
|
## `eas branch:delete [NAME]`
|
|
234
234
|
|
|
@@ -249,7 +249,7 @@ DESCRIPTION
|
|
|
249
249
|
delete a branch
|
|
250
250
|
```
|
|
251
251
|
|
|
252
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
252
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
253
253
|
|
|
254
254
|
## `eas branch:list`
|
|
255
255
|
|
|
@@ -269,7 +269,7 @@ DESCRIPTION
|
|
|
269
269
|
list all branches
|
|
270
270
|
```
|
|
271
271
|
|
|
272
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
272
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
273
273
|
|
|
274
274
|
## `eas branch:rename`
|
|
275
275
|
|
|
@@ -289,7 +289,7 @@ DESCRIPTION
|
|
|
289
289
|
rename a branch
|
|
290
290
|
```
|
|
291
291
|
|
|
292
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
292
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
293
293
|
|
|
294
294
|
## `eas branch:view [NAME]`
|
|
295
295
|
|
|
@@ -312,7 +312,7 @@ DESCRIPTION
|
|
|
312
312
|
view a branch
|
|
313
313
|
```
|
|
314
314
|
|
|
315
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
315
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
316
316
|
|
|
317
317
|
## `eas build`
|
|
318
318
|
|
|
@@ -342,7 +342,7 @@ DESCRIPTION
|
|
|
342
342
|
start a build
|
|
343
343
|
```
|
|
344
344
|
|
|
345
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
345
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
346
346
|
|
|
347
347
|
## `eas build:cancel [BUILD_ID]`
|
|
348
348
|
|
|
@@ -359,7 +359,7 @@ DESCRIPTION
|
|
|
359
359
|
cancel a build
|
|
360
360
|
```
|
|
361
361
|
|
|
362
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
362
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
363
363
|
|
|
364
364
|
## `eas build:configure`
|
|
365
365
|
|
|
@@ -376,7 +376,7 @@ DESCRIPTION
|
|
|
376
376
|
configure the project to support EAS Build
|
|
377
377
|
```
|
|
378
378
|
|
|
379
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
379
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
380
380
|
|
|
381
381
|
## `eas build:inspect`
|
|
382
382
|
|
|
@@ -411,7 +411,7 @@ DESCRIPTION
|
|
|
411
411
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
412
412
|
```
|
|
413
413
|
|
|
414
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
414
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
415
415
|
|
|
416
416
|
## `eas build:list`
|
|
417
417
|
|
|
@@ -448,7 +448,7 @@ DESCRIPTION
|
|
|
448
448
|
list all builds for your project
|
|
449
449
|
```
|
|
450
450
|
|
|
451
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
451
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
452
452
|
|
|
453
453
|
## `eas build:resign`
|
|
454
454
|
|
|
@@ -474,7 +474,7 @@ DESCRIPTION
|
|
|
474
474
|
re-sign a build archive
|
|
475
475
|
```
|
|
476
476
|
|
|
477
|
-
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
477
|
+
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/build/resign.ts)_
|
|
478
478
|
|
|
479
479
|
## `eas build:run`
|
|
480
480
|
|
|
@@ -498,7 +498,7 @@ DESCRIPTION
|
|
|
498
498
|
run simulator/emulator builds from eas-cli
|
|
499
499
|
```
|
|
500
500
|
|
|
501
|
-
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
501
|
+
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/build/run.ts)_
|
|
502
502
|
|
|
503
503
|
## `eas build:submit`
|
|
504
504
|
|
|
@@ -545,7 +545,7 @@ DESCRIPTION
|
|
|
545
545
|
Update version of an app.
|
|
546
546
|
```
|
|
547
547
|
|
|
548
|
-
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
548
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
549
549
|
|
|
550
550
|
## `eas build:version:sync`
|
|
551
551
|
|
|
@@ -564,7 +564,7 @@ DESCRIPTION
|
|
|
564
564
|
Update a version in native code with a value stored on EAS servers
|
|
565
565
|
```
|
|
566
566
|
|
|
567
|
-
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
567
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
568
568
|
|
|
569
569
|
## `eas build:view [BUILD_ID]`
|
|
570
570
|
|
|
@@ -581,7 +581,7 @@ DESCRIPTION
|
|
|
581
581
|
view a build for your project
|
|
582
582
|
```
|
|
583
583
|
|
|
584
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
584
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
585
585
|
|
|
586
586
|
## `eas channel:create [NAME]`
|
|
587
587
|
|
|
@@ -602,7 +602,7 @@ DESCRIPTION
|
|
|
602
602
|
create a channel
|
|
603
603
|
```
|
|
604
604
|
|
|
605
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
605
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
606
606
|
|
|
607
607
|
## `eas channel:edit [NAME]`
|
|
608
608
|
|
|
@@ -624,7 +624,7 @@ DESCRIPTION
|
|
|
624
624
|
point a channel at a new branch
|
|
625
625
|
```
|
|
626
626
|
|
|
627
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
627
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
628
628
|
|
|
629
629
|
## `eas channel:list`
|
|
630
630
|
|
|
@@ -644,7 +644,7 @@ DESCRIPTION
|
|
|
644
644
|
list all channels
|
|
645
645
|
```
|
|
646
646
|
|
|
647
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
647
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
648
648
|
|
|
649
649
|
## `eas channel:view [NAME]`
|
|
650
650
|
|
|
@@ -667,7 +667,7 @@ DESCRIPTION
|
|
|
667
667
|
view a channel
|
|
668
668
|
```
|
|
669
669
|
|
|
670
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
670
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
671
671
|
|
|
672
672
|
## `eas config`
|
|
673
673
|
|
|
@@ -688,7 +688,7 @@ DESCRIPTION
|
|
|
688
688
|
display project configuration (app.json + eas.json)
|
|
689
689
|
```
|
|
690
690
|
|
|
691
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
691
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/config.ts)_
|
|
692
692
|
|
|
693
693
|
## `eas credentials`
|
|
694
694
|
|
|
@@ -705,7 +705,7 @@ DESCRIPTION
|
|
|
705
705
|
manage credentials
|
|
706
706
|
```
|
|
707
707
|
|
|
708
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
708
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
709
709
|
|
|
710
710
|
## `eas device:create`
|
|
711
711
|
|
|
@@ -719,7 +719,7 @@ DESCRIPTION
|
|
|
719
719
|
register new Apple Devices to use for internal distribution
|
|
720
720
|
```
|
|
721
721
|
|
|
722
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
722
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
723
723
|
|
|
724
724
|
## `eas device:delete`
|
|
725
725
|
|
|
@@ -739,7 +739,7 @@ DESCRIPTION
|
|
|
739
739
|
remove a registered device from your account
|
|
740
740
|
```
|
|
741
741
|
|
|
742
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
742
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
743
743
|
|
|
744
744
|
## `eas device:list`
|
|
745
745
|
|
|
@@ -760,7 +760,7 @@ DESCRIPTION
|
|
|
760
760
|
list all registered devices for your account
|
|
761
761
|
```
|
|
762
762
|
|
|
763
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
763
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
764
764
|
|
|
765
765
|
## `eas device:view [UDID]`
|
|
766
766
|
|
|
@@ -774,7 +774,7 @@ DESCRIPTION
|
|
|
774
774
|
view a device for your project
|
|
775
775
|
```
|
|
776
776
|
|
|
777
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
777
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
778
778
|
|
|
779
779
|
## `eas diagnostics`
|
|
780
780
|
|
|
@@ -788,7 +788,7 @@ DESCRIPTION
|
|
|
788
788
|
display environment info
|
|
789
789
|
```
|
|
790
790
|
|
|
791
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
791
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
792
792
|
|
|
793
793
|
## `eas help [COMMAND]`
|
|
794
794
|
|
|
@@ -876,7 +876,7 @@ DESCRIPTION
|
|
|
876
876
|
validate the local store configuration
|
|
877
877
|
```
|
|
878
878
|
|
|
879
|
-
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
879
|
+
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
880
880
|
|
|
881
881
|
## `eas metadata:pull`
|
|
882
882
|
|
|
@@ -893,7 +893,7 @@ DESCRIPTION
|
|
|
893
893
|
generate the local store configuration from the app stores
|
|
894
894
|
```
|
|
895
895
|
|
|
896
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
896
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
897
897
|
|
|
898
898
|
## `eas metadata:push`
|
|
899
899
|
|
|
@@ -910,7 +910,7 @@ DESCRIPTION
|
|
|
910
910
|
sync the local store configuration to the app stores
|
|
911
911
|
```
|
|
912
912
|
|
|
913
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
913
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
914
914
|
|
|
915
915
|
## `eas open`
|
|
916
916
|
|
|
@@ -924,7 +924,7 @@ DESCRIPTION
|
|
|
924
924
|
open the project page in a web browser
|
|
925
925
|
```
|
|
926
926
|
|
|
927
|
-
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
927
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/open.ts)_
|
|
928
928
|
|
|
929
929
|
## `eas project:info`
|
|
930
930
|
|
|
@@ -938,7 +938,7 @@ DESCRIPTION
|
|
|
938
938
|
information about the current project
|
|
939
939
|
```
|
|
940
940
|
|
|
941
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
941
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
942
942
|
|
|
943
943
|
## `eas project:init`
|
|
944
944
|
|
|
@@ -960,7 +960,7 @@ ALIASES
|
|
|
960
960
|
$ eas init
|
|
961
961
|
```
|
|
962
962
|
|
|
963
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
963
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
964
964
|
|
|
965
965
|
## `eas secret:create`
|
|
966
966
|
|
|
@@ -983,7 +983,7 @@ DESCRIPTION
|
|
|
983
983
|
create an environment secret on the current project or owner account
|
|
984
984
|
```
|
|
985
985
|
|
|
986
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
986
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
987
987
|
|
|
988
988
|
## `eas secret:delete`
|
|
989
989
|
|
|
@@ -1001,7 +1001,7 @@ DESCRIPTION
|
|
|
1001
1001
|
delete an environment secret by ID
|
|
1002
1002
|
```
|
|
1003
1003
|
|
|
1004
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1004
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1005
1005
|
|
|
1006
1006
|
## `eas secret:list`
|
|
1007
1007
|
|
|
@@ -1015,7 +1015,7 @@ DESCRIPTION
|
|
|
1015
1015
|
list environment secrets available for your current app
|
|
1016
1016
|
```
|
|
1017
1017
|
|
|
1018
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1018
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1019
1019
|
|
|
1020
1020
|
## `eas secret:push`
|
|
1021
1021
|
|
|
@@ -1035,7 +1035,7 @@ DESCRIPTION
|
|
|
1035
1035
|
read environment secrets from env file and store on the server
|
|
1036
1036
|
```
|
|
1037
1037
|
|
|
1038
|
-
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1038
|
+
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1039
1039
|
|
|
1040
1040
|
## `eas submit`
|
|
1041
1041
|
|
|
@@ -1065,7 +1065,7 @@ ALIASES
|
|
|
1065
1065
|
$ eas build:submit
|
|
1066
1066
|
```
|
|
1067
1067
|
|
|
1068
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1068
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/submit.ts)_
|
|
1069
1069
|
|
|
1070
1070
|
## `eas update`
|
|
1071
1071
|
|
|
@@ -1097,7 +1097,7 @@ DESCRIPTION
|
|
|
1097
1097
|
publish an update group
|
|
1098
1098
|
```
|
|
1099
1099
|
|
|
1100
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1100
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
1101
1101
|
|
|
1102
1102
|
## `eas update:configure`
|
|
1103
1103
|
|
|
@@ -1115,7 +1115,7 @@ DESCRIPTION
|
|
|
1115
1115
|
configure the project to support EAS Update
|
|
1116
1116
|
```
|
|
1117
1117
|
|
|
1118
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1118
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1119
1119
|
|
|
1120
1120
|
## `eas update:delete GROUPID`
|
|
1121
1121
|
|
|
@@ -1136,7 +1136,7 @@ DESCRIPTION
|
|
|
1136
1136
|
delete all the updates in an update group
|
|
1137
1137
|
```
|
|
1138
1138
|
|
|
1139
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1139
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1140
1140
|
|
|
1141
1141
|
## `eas update:list`
|
|
1142
1142
|
|
|
@@ -1158,7 +1158,7 @@ DESCRIPTION
|
|
|
1158
1158
|
view the recent updates
|
|
1159
1159
|
```
|
|
1160
1160
|
|
|
1161
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1161
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
1162
1162
|
|
|
1163
1163
|
## `eas update:republish`
|
|
1164
1164
|
|
|
@@ -1182,7 +1182,7 @@ DESCRIPTION
|
|
|
1182
1182
|
rollback to an existing update
|
|
1183
1183
|
```
|
|
1184
1184
|
|
|
1185
|
-
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1185
|
+
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1186
1186
|
|
|
1187
1187
|
## `eas update:view GROUPID`
|
|
1188
1188
|
|
|
@@ -1202,7 +1202,7 @@ DESCRIPTION
|
|
|
1202
1202
|
update group details
|
|
1203
1203
|
```
|
|
1204
1204
|
|
|
1205
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1205
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
1206
1206
|
|
|
1207
1207
|
## `eas webhook:create`
|
|
1208
1208
|
|
|
@@ -1223,7 +1223,7 @@ DESCRIPTION
|
|
|
1223
1223
|
create a webhook
|
|
1224
1224
|
```
|
|
1225
1225
|
|
|
1226
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1226
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1227
1227
|
|
|
1228
1228
|
## `eas webhook:delete [ID]`
|
|
1229
1229
|
|
|
@@ -1243,7 +1243,7 @@ DESCRIPTION
|
|
|
1243
1243
|
delete a webhook
|
|
1244
1244
|
```
|
|
1245
1245
|
|
|
1246
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1246
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1247
1247
|
|
|
1248
1248
|
## `eas webhook:list`
|
|
1249
1249
|
|
|
@@ -1261,7 +1261,7 @@ DESCRIPTION
|
|
|
1261
1261
|
list webhooks
|
|
1262
1262
|
```
|
|
1263
1263
|
|
|
1264
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1264
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1265
1265
|
|
|
1266
1266
|
## `eas webhook:update`
|
|
1267
1267
|
|
|
@@ -1283,7 +1283,7 @@ DESCRIPTION
|
|
|
1283
1283
|
update a webhook
|
|
1284
1284
|
```
|
|
1285
1285
|
|
|
1286
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1286
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1287
1287
|
|
|
1288
1288
|
## `eas webhook:view ID`
|
|
1289
1289
|
|
|
@@ -1300,7 +1300,7 @@ DESCRIPTION
|
|
|
1300
1300
|
view a webhook
|
|
1301
1301
|
```
|
|
1302
1302
|
|
|
1303
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1303
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1304
1304
|
|
|
1305
1305
|
## `eas whoami`
|
|
1306
1306
|
|
|
@@ -88,7 +88,8 @@ async function prepareAndroidBuildAsync(ctx) {
|
|
|
88
88
|
}
|
|
89
89
|
exports.prepareAndroidBuildAsync = prepareAndroidBuildAsync;
|
|
90
90
|
function shouldProvideCredentials(ctx) {
|
|
91
|
-
|
|
91
|
+
const isCustomBuild = ctx.buildProfile.config !== undefined;
|
|
92
|
+
return !ctx.buildProfile.withoutCredentials && !isCustomBuild;
|
|
92
93
|
}
|
|
93
94
|
async function ensureAndroidCredentialsAsync(ctx) {
|
|
94
95
|
if (!shouldProvideCredentials(ctx)) {
|
|
@@ -24,6 +24,8 @@ function transformJob(job) {
|
|
|
24
24
|
buildType: job.buildType && transformBuildType(job.buildType),
|
|
25
25
|
developmentClient: job.developmentClient,
|
|
26
26
|
experimental: job.experimental,
|
|
27
|
+
mode: (0, graphql_1.transformBuildMode)(job.mode),
|
|
28
|
+
customBuildConfig: job.customBuildConfig,
|
|
27
29
|
};
|
|
28
30
|
}
|
|
29
31
|
exports.transformJob = transformJob;
|
|
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
6
6
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
7
7
|
const slash_1 = tslib_1.__importDefault(require("slash"));
|
|
8
|
+
const customBuildConfig_1 = require("../../project/customBuildConfig");
|
|
8
9
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
9
10
|
const vcs_1 = require("../../vcs");
|
|
10
11
|
const cacheDefaults = {
|
|
@@ -30,10 +31,13 @@ async function prepareJobAsync(ctx, jobData) {
|
|
|
30
31
|
},
|
|
31
32
|
}
|
|
32
33
|
: {};
|
|
33
|
-
let buildType =
|
|
34
|
-
if (!buildType && !buildProfile.gradleCommand &&
|
|
34
|
+
let buildType = buildProfile.buildType;
|
|
35
|
+
if (!buildType && !buildProfile.gradleCommand && buildProfile.distribution === 'internal') {
|
|
35
36
|
buildType = eas_build_job_1.Android.BuildType.APK;
|
|
36
37
|
}
|
|
38
|
+
const maybeCustomBuildConfigPath = buildProfile.config
|
|
39
|
+
? (0, customBuildConfig_1.getCustomBuildConfigPath)(buildProfile.config)
|
|
40
|
+
: undefined;
|
|
37
41
|
const job = {
|
|
38
42
|
type: ctx.workflow,
|
|
39
43
|
platform: eas_build_job_1.Platform.ANDROID,
|
|
@@ -55,8 +59,8 @@ async function prepareJobAsync(ctx, jobData) {
|
|
|
55
59
|
secrets: {
|
|
56
60
|
...buildCredentials,
|
|
57
61
|
},
|
|
58
|
-
releaseChannel:
|
|
59
|
-
updates: { channel:
|
|
62
|
+
releaseChannel: buildProfile.releaseChannel,
|
|
63
|
+
updates: { channel: buildProfile.channel },
|
|
60
64
|
developmentClient: buildProfile.developmentClient,
|
|
61
65
|
gradleCommand: buildProfile.gradleCommand,
|
|
62
66
|
applicationArchivePath: (_a = buildProfile.applicationArchivePath) !== null && _a !== void 0 ? _a : buildProfile.artifactPath,
|
|
@@ -69,10 +73,15 @@ async function prepareJobAsync(ctx, jobData) {
|
|
|
69
73
|
},
|
|
70
74
|
}),
|
|
71
75
|
experimental: {
|
|
72
|
-
prebuildCommand:
|
|
76
|
+
prebuildCommand: buildProfile.prebuildCommand,
|
|
73
77
|
},
|
|
74
|
-
mode: eas_build_job_1.BuildMode.BUILD,
|
|
78
|
+
mode: buildProfile.config ? eas_build_job_1.BuildMode.CUSTOM : eas_build_job_1.BuildMode.BUILD,
|
|
75
79
|
triggeredBy: eas_build_job_1.BuildTrigger.EAS_CLI,
|
|
80
|
+
...(maybeCustomBuildConfigPath && {
|
|
81
|
+
customBuildConfig: {
|
|
82
|
+
path: maybeCustomBuildConfigPath,
|
|
83
|
+
},
|
|
84
|
+
}),
|
|
76
85
|
};
|
|
77
86
|
return (0, eas_build_job_1.sanitizeJob)(job);
|
|
78
87
|
}
|
package/build/build/graphql.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export declare function transformProjectArchive(archiveSource: ArchiveSource): P
|
|
|
4
4
|
export declare function transformMetadata(metadata: Metadata): BuildMetadataInput;
|
|
5
5
|
export declare function transformWorkflow(workflow: Workflow): BuildWorkflow;
|
|
6
6
|
export declare function transformIosEnterpriseProvisioning(enterpriseProvisioning: Metadata['iosEnterpriseProvisioning']): BuildIosEnterpriseProvisioning;
|
|
7
|
-
export declare function transformBuildMode(buildMode:
|
|
7
|
+
export declare function transformBuildMode(buildMode: string): BuildMode;
|
|
8
8
|
export declare function transformBuildTrigger(buildTrigger: BuildTrigger): GraphQLBuildTrigger;
|
package/build/build/graphql.js
CHANGED
|
@@ -76,13 +76,20 @@ function transformIosEnterpriseProvisioning(enterpriseProvisioning) {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
exports.transformIosEnterpriseProvisioning = transformIosEnterpriseProvisioning;
|
|
79
|
+
// TODO: check what in metadata
|
|
79
80
|
function transformBuildMode(buildMode) {
|
|
80
81
|
if (buildMode === 'build') {
|
|
81
82
|
return generated_1.BuildMode.Build;
|
|
82
83
|
}
|
|
83
|
-
else {
|
|
84
|
+
else if (buildMode === 'resign') {
|
|
84
85
|
return generated_1.BuildMode.Resign;
|
|
85
86
|
}
|
|
87
|
+
else if (buildMode === 'custom') {
|
|
88
|
+
return generated_1.BuildMode.Custom;
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
throw new Error(`Unsupported build mode: ${buildMode}`);
|
|
92
|
+
}
|
|
86
93
|
}
|
|
87
94
|
exports.transformBuildMode = transformBuildMode;
|
|
88
95
|
function transformBuildTrigger(buildTrigger) {
|
|
@@ -41,5 +41,6 @@ async function ensureIosCredentialsForBuildResignAsync(credentialsCtx, targets,
|
|
|
41
41
|
}
|
|
42
42
|
exports.ensureIosCredentialsForBuildResignAsync = ensureIosCredentialsForBuildResignAsync;
|
|
43
43
|
function shouldProvideCredentials(buildCtx) {
|
|
44
|
-
|
|
44
|
+
const isCustomBuild = buildCtx.buildProfile.config !== undefined;
|
|
45
|
+
return !buildCtx.buildProfile.simulator && !isCustomBuild;
|
|
45
46
|
}
|
|
@@ -13,7 +13,7 @@ function transformJob(job) {
|
|
|
13
13
|
projectRootDirectory: (0, nullthrows_1.default)(job.projectRootDirectory),
|
|
14
14
|
releaseChannel: job.releaseChannel,
|
|
15
15
|
updates: job.updates,
|
|
16
|
-
secrets: transformIosSecrets(job.secrets),
|
|
16
|
+
secrets: job.secrets ? transformIosSecrets(job.secrets) : undefined,
|
|
17
17
|
builderEnvironment: job.builderEnvironment,
|
|
18
18
|
cache: job.cache,
|
|
19
19
|
version: ((_a = job.version) === null || _a === void 0 ? void 0 : _a.buildNumber) ? { buildNumber: job.version.buildNumber } : undefined,
|
|
@@ -25,6 +25,8 @@ function transformJob(job) {
|
|
|
25
25
|
developmentClient: job.developmentClient,
|
|
26
26
|
simulator: job.simulator,
|
|
27
27
|
experimental: job.experimental,
|
|
28
|
+
mode: (0, graphql_1.transformBuildMode)(job.mode),
|
|
29
|
+
customBuildConfig: job.customBuildConfig,
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
exports.transformJob = transformJob;
|