eas-cli 3.11.0 → 3.12.1
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 +80 -58
- package/build/build/context.d.ts +2 -0
- package/build/build/createContext.d.ts +3 -1
- package/build/build/createContext.js +2 -1
- package/build/build/metadata.js +2 -1
- package/build/build/runBuildAndSubmit.js +10 -3
- package/build/commandUtils/EasCommand.d.ts +2 -3
- package/build/commands/build/version/get.d.ts +16 -0
- package/build/commands/build/version/get.js +105 -0
- package/build/commands/build/version/set.js +2 -2
- package/build/commands/build/version/sync.js +2 -2
- package/build/graphql/generated.d.ts +76 -48
- package/build/graphql/generated.js +10 -2
- package/build/graphql/types/Build.js +1 -0
- package/build/platform.js +1 -1
- package/build/project/customBuildConfig.d.ts +4 -1
- package/build/project/customBuildConfig.js +7 -2
- package/build/project/remoteVersionSource.d.ts +3 -1
- package/build/project/remoteVersionSource.js +4 -1
- package/build/submit/ArchiveSource.js +12 -0
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -73,6 +73,7 @@ eas --help COMMAND
|
|
|
73
73
|
* [`eas build:resign`](#eas-buildresign)
|
|
74
74
|
* [`eas build:run`](#eas-buildrun)
|
|
75
75
|
* [`eas build:submit`](#eas-buildsubmit)
|
|
76
|
+
* [`eas build:version:get`](#eas-buildversionget)
|
|
76
77
|
* [`eas build:version:set`](#eas-buildversionset)
|
|
77
78
|
* [`eas build:version:sync`](#eas-buildversionsync)
|
|
78
79
|
* [`eas build:view [BUILD_ID]`](#eas-buildview-build_id)
|
|
@@ -132,7 +133,7 @@ ALIASES
|
|
|
132
133
|
$ eas login
|
|
133
134
|
```
|
|
134
135
|
|
|
135
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
136
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/account/login.ts)_
|
|
136
137
|
|
|
137
138
|
## `eas account:logout`
|
|
138
139
|
|
|
@@ -149,7 +150,7 @@ ALIASES
|
|
|
149
150
|
$ eas logout
|
|
150
151
|
```
|
|
151
152
|
|
|
152
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
153
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/account/logout.ts)_
|
|
153
154
|
|
|
154
155
|
## `eas account:view`
|
|
155
156
|
|
|
@@ -166,7 +167,7 @@ ALIASES
|
|
|
166
167
|
$ eas whoami
|
|
167
168
|
```
|
|
168
169
|
|
|
169
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
170
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/account/view.ts)_
|
|
170
171
|
|
|
171
172
|
## `eas analytics [STATUS]`
|
|
172
173
|
|
|
@@ -180,7 +181,7 @@ DESCRIPTION
|
|
|
180
181
|
display or change analytics settings
|
|
181
182
|
```
|
|
182
183
|
|
|
183
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
184
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/analytics.ts)_
|
|
184
185
|
|
|
185
186
|
## `eas autocomplete [SHELL]`
|
|
186
187
|
|
|
@@ -230,7 +231,7 @@ DESCRIPTION
|
|
|
230
231
|
create a branch
|
|
231
232
|
```
|
|
232
233
|
|
|
233
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
234
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/branch/create.ts)_
|
|
234
235
|
|
|
235
236
|
## `eas branch:delete [NAME]`
|
|
236
237
|
|
|
@@ -251,7 +252,7 @@ DESCRIPTION
|
|
|
251
252
|
delete a branch
|
|
252
253
|
```
|
|
253
254
|
|
|
254
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
255
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
255
256
|
|
|
256
257
|
## `eas branch:list`
|
|
257
258
|
|
|
@@ -271,7 +272,7 @@ DESCRIPTION
|
|
|
271
272
|
list all branches
|
|
272
273
|
```
|
|
273
274
|
|
|
274
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
275
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/branch/list.ts)_
|
|
275
276
|
|
|
276
277
|
## `eas branch:rename`
|
|
277
278
|
|
|
@@ -291,7 +292,7 @@ DESCRIPTION
|
|
|
291
292
|
rename a branch
|
|
292
293
|
```
|
|
293
294
|
|
|
294
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
295
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
295
296
|
|
|
296
297
|
## `eas branch:view [NAME]`
|
|
297
298
|
|
|
@@ -314,7 +315,7 @@ DESCRIPTION
|
|
|
314
315
|
view a branch
|
|
315
316
|
```
|
|
316
317
|
|
|
317
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
318
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/branch/view.ts)_
|
|
318
319
|
|
|
319
320
|
## `eas build`
|
|
320
321
|
|
|
@@ -344,7 +345,7 @@ DESCRIPTION
|
|
|
344
345
|
start a build
|
|
345
346
|
```
|
|
346
347
|
|
|
347
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
348
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/build/index.ts)_
|
|
348
349
|
|
|
349
350
|
## `eas build:cancel [BUILD_ID]`
|
|
350
351
|
|
|
@@ -361,7 +362,7 @@ DESCRIPTION
|
|
|
361
362
|
cancel a build
|
|
362
363
|
```
|
|
363
364
|
|
|
364
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
365
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
365
366
|
|
|
366
367
|
## `eas build:configure`
|
|
367
368
|
|
|
@@ -378,7 +379,7 @@ DESCRIPTION
|
|
|
378
379
|
configure the project to support EAS Build
|
|
379
380
|
```
|
|
380
381
|
|
|
381
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
382
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/build/configure.ts)_
|
|
382
383
|
|
|
383
384
|
## `eas build:inspect`
|
|
384
385
|
|
|
@@ -413,7 +414,7 @@ DESCRIPTION
|
|
|
413
414
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
414
415
|
```
|
|
415
416
|
|
|
416
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
417
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
417
418
|
|
|
418
419
|
## `eas build:list`
|
|
419
420
|
|
|
@@ -450,7 +451,7 @@ DESCRIPTION
|
|
|
450
451
|
list all builds for your project
|
|
451
452
|
```
|
|
452
453
|
|
|
453
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
454
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/build/list.ts)_
|
|
454
455
|
|
|
455
456
|
## `eas build:resign`
|
|
456
457
|
|
|
@@ -476,7 +477,7 @@ DESCRIPTION
|
|
|
476
477
|
re-sign a build archive
|
|
477
478
|
```
|
|
478
479
|
|
|
479
|
-
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
480
|
+
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/build/resign.ts)_
|
|
480
481
|
|
|
481
482
|
## `eas build:run`
|
|
482
483
|
|
|
@@ -500,7 +501,7 @@ DESCRIPTION
|
|
|
500
501
|
run simulator/emulator builds from eas-cli
|
|
501
502
|
```
|
|
502
503
|
|
|
503
|
-
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
504
|
+
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/build/run.ts)_
|
|
504
505
|
|
|
505
506
|
## `eas build:submit`
|
|
506
507
|
|
|
@@ -530,9 +531,30 @@ ALIASES
|
|
|
530
531
|
$ eas build:submit
|
|
531
532
|
```
|
|
532
533
|
|
|
534
|
+
## `eas build:version:get`
|
|
535
|
+
|
|
536
|
+
get the latest version from EAS servers
|
|
537
|
+
|
|
538
|
+
```
|
|
539
|
+
USAGE
|
|
540
|
+
$ eas build:version:get [-p android|ios|all] [-e <value>] [--json --non-interactive]
|
|
541
|
+
|
|
542
|
+
FLAGS
|
|
543
|
+
-e, --profile=PROFILE_NAME Name of the build profile from eas.json. Defaults to "production" if defined in
|
|
544
|
+
eas.json.
|
|
545
|
+
-p, --platform=(android|ios|all)
|
|
546
|
+
--json Enable JSON output, non-JSON messages will be printed to stderr.
|
|
547
|
+
--non-interactive Run the command in non-interactive mode.
|
|
548
|
+
|
|
549
|
+
DESCRIPTION
|
|
550
|
+
get the latest version from EAS servers
|
|
551
|
+
```
|
|
552
|
+
|
|
553
|
+
_See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/build/version/get.ts)_
|
|
554
|
+
|
|
533
555
|
## `eas build:version:set`
|
|
534
556
|
|
|
535
|
-
|
|
557
|
+
update version of an app
|
|
536
558
|
|
|
537
559
|
```
|
|
538
560
|
USAGE
|
|
@@ -544,14 +566,14 @@ FLAGS
|
|
|
544
566
|
-p, --platform=(android|ios)
|
|
545
567
|
|
|
546
568
|
DESCRIPTION
|
|
547
|
-
|
|
569
|
+
update version of an app
|
|
548
570
|
```
|
|
549
571
|
|
|
550
|
-
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
572
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
551
573
|
|
|
552
574
|
## `eas build:version:sync`
|
|
553
575
|
|
|
554
|
-
|
|
576
|
+
update a version in native code with a value stored on EAS servers
|
|
555
577
|
|
|
556
578
|
```
|
|
557
579
|
USAGE
|
|
@@ -563,10 +585,10 @@ FLAGS
|
|
|
563
585
|
-p, --platform=(android|ios|all)
|
|
564
586
|
|
|
565
587
|
DESCRIPTION
|
|
566
|
-
|
|
588
|
+
update a version in native code with a value stored on EAS servers
|
|
567
589
|
```
|
|
568
590
|
|
|
569
|
-
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
591
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
570
592
|
|
|
571
593
|
## `eas build:view [BUILD_ID]`
|
|
572
594
|
|
|
@@ -583,7 +605,7 @@ DESCRIPTION
|
|
|
583
605
|
view a build for your project
|
|
584
606
|
```
|
|
585
607
|
|
|
586
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
608
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/build/view.ts)_
|
|
587
609
|
|
|
588
610
|
## `eas channel:create [NAME]`
|
|
589
611
|
|
|
@@ -604,7 +626,7 @@ DESCRIPTION
|
|
|
604
626
|
create a channel
|
|
605
627
|
```
|
|
606
628
|
|
|
607
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
629
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/channel/create.ts)_
|
|
608
630
|
|
|
609
631
|
## `eas channel:edit [NAME]`
|
|
610
632
|
|
|
@@ -626,7 +648,7 @@ DESCRIPTION
|
|
|
626
648
|
point a channel at a new branch
|
|
627
649
|
```
|
|
628
650
|
|
|
629
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
651
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
630
652
|
|
|
631
653
|
## `eas channel:list`
|
|
632
654
|
|
|
@@ -646,7 +668,7 @@ DESCRIPTION
|
|
|
646
668
|
list all channels
|
|
647
669
|
```
|
|
648
670
|
|
|
649
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
671
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/channel/list.ts)_
|
|
650
672
|
|
|
651
673
|
## `eas channel:rollout [CHANNEL]`
|
|
652
674
|
|
|
@@ -670,7 +692,7 @@ DESCRIPTION
|
|
|
670
692
|
Roll a new branch out on a channel incrementally.
|
|
671
693
|
```
|
|
672
694
|
|
|
673
|
-
_See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
695
|
+
_See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/channel/rollout.ts)_
|
|
674
696
|
|
|
675
697
|
## `eas channel:view [NAME]`
|
|
676
698
|
|
|
@@ -693,7 +715,7 @@ DESCRIPTION
|
|
|
693
715
|
view a channel
|
|
694
716
|
```
|
|
695
717
|
|
|
696
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
718
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/channel/view.ts)_
|
|
697
719
|
|
|
698
720
|
## `eas config`
|
|
699
721
|
|
|
@@ -714,7 +736,7 @@ DESCRIPTION
|
|
|
714
736
|
display project configuration (app.json + eas.json)
|
|
715
737
|
```
|
|
716
738
|
|
|
717
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
739
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/config.ts)_
|
|
718
740
|
|
|
719
741
|
## `eas credentials`
|
|
720
742
|
|
|
@@ -731,7 +753,7 @@ DESCRIPTION
|
|
|
731
753
|
manage credentials
|
|
732
754
|
```
|
|
733
755
|
|
|
734
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
756
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/credentials.ts)_
|
|
735
757
|
|
|
736
758
|
## `eas device:create`
|
|
737
759
|
|
|
@@ -745,7 +767,7 @@ DESCRIPTION
|
|
|
745
767
|
register new Apple Devices to use for internal distribution
|
|
746
768
|
```
|
|
747
769
|
|
|
748
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
770
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/device/create.ts)_
|
|
749
771
|
|
|
750
772
|
## `eas device:delete`
|
|
751
773
|
|
|
@@ -765,7 +787,7 @@ DESCRIPTION
|
|
|
765
787
|
remove a registered device from your account
|
|
766
788
|
```
|
|
767
789
|
|
|
768
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
790
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/device/delete.ts)_
|
|
769
791
|
|
|
770
792
|
## `eas device:list`
|
|
771
793
|
|
|
@@ -786,7 +808,7 @@ DESCRIPTION
|
|
|
786
808
|
list all registered devices for your account
|
|
787
809
|
```
|
|
788
810
|
|
|
789
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
811
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/device/list.ts)_
|
|
790
812
|
|
|
791
813
|
## `eas device:rename`
|
|
792
814
|
|
|
@@ -807,7 +829,7 @@ DESCRIPTION
|
|
|
807
829
|
rename a registered device
|
|
808
830
|
```
|
|
809
831
|
|
|
810
|
-
_See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
832
|
+
_See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/device/rename.ts)_
|
|
811
833
|
|
|
812
834
|
## `eas device:view [UDID]`
|
|
813
835
|
|
|
@@ -821,7 +843,7 @@ DESCRIPTION
|
|
|
821
843
|
view a device for your project
|
|
822
844
|
```
|
|
823
845
|
|
|
824
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
846
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/device/view.ts)_
|
|
825
847
|
|
|
826
848
|
## `eas diagnostics`
|
|
827
849
|
|
|
@@ -835,7 +857,7 @@ DESCRIPTION
|
|
|
835
857
|
display environment info
|
|
836
858
|
```
|
|
837
859
|
|
|
838
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
860
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
839
861
|
|
|
840
862
|
## `eas help [COMMAND]`
|
|
841
863
|
|
|
@@ -923,7 +945,7 @@ DESCRIPTION
|
|
|
923
945
|
validate the local store configuration
|
|
924
946
|
```
|
|
925
947
|
|
|
926
|
-
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
948
|
+
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
927
949
|
|
|
928
950
|
## `eas metadata:pull`
|
|
929
951
|
|
|
@@ -940,7 +962,7 @@ DESCRIPTION
|
|
|
940
962
|
generate the local store configuration from the app stores
|
|
941
963
|
```
|
|
942
964
|
|
|
943
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
965
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
944
966
|
|
|
945
967
|
## `eas metadata:push`
|
|
946
968
|
|
|
@@ -957,7 +979,7 @@ DESCRIPTION
|
|
|
957
979
|
sync the local store configuration to the app stores
|
|
958
980
|
```
|
|
959
981
|
|
|
960
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
982
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
961
983
|
|
|
962
984
|
## `eas open`
|
|
963
985
|
|
|
@@ -971,7 +993,7 @@ DESCRIPTION
|
|
|
971
993
|
open the project page in a web browser
|
|
972
994
|
```
|
|
973
995
|
|
|
974
|
-
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
996
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/open.ts)_
|
|
975
997
|
|
|
976
998
|
## `eas project:info`
|
|
977
999
|
|
|
@@ -985,7 +1007,7 @@ DESCRIPTION
|
|
|
985
1007
|
information about the current project
|
|
986
1008
|
```
|
|
987
1009
|
|
|
988
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1010
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/project/info.ts)_
|
|
989
1011
|
|
|
990
1012
|
## `eas project:init`
|
|
991
1013
|
|
|
@@ -1007,7 +1029,7 @@ ALIASES
|
|
|
1007
1029
|
$ eas init
|
|
1008
1030
|
```
|
|
1009
1031
|
|
|
1010
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1032
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/project/init.ts)_
|
|
1011
1033
|
|
|
1012
1034
|
## `eas secret:create`
|
|
1013
1035
|
|
|
@@ -1030,7 +1052,7 @@ DESCRIPTION
|
|
|
1030
1052
|
create an environment secret on the current project or owner account
|
|
1031
1053
|
```
|
|
1032
1054
|
|
|
1033
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1055
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/secret/create.ts)_
|
|
1034
1056
|
|
|
1035
1057
|
## `eas secret:delete`
|
|
1036
1058
|
|
|
@@ -1048,7 +1070,7 @@ DESCRIPTION
|
|
|
1048
1070
|
delete an environment secret by ID
|
|
1049
1071
|
```
|
|
1050
1072
|
|
|
1051
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1073
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1052
1074
|
|
|
1053
1075
|
## `eas secret:list`
|
|
1054
1076
|
|
|
@@ -1062,7 +1084,7 @@ DESCRIPTION
|
|
|
1062
1084
|
list environment secrets available for your current app
|
|
1063
1085
|
```
|
|
1064
1086
|
|
|
1065
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1087
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1066
1088
|
|
|
1067
1089
|
## `eas secret:push`
|
|
1068
1090
|
|
|
@@ -1082,7 +1104,7 @@ DESCRIPTION
|
|
|
1082
1104
|
read environment secrets from env file and store on the server
|
|
1083
1105
|
```
|
|
1084
1106
|
|
|
1085
|
-
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1107
|
+
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1086
1108
|
|
|
1087
1109
|
## `eas submit`
|
|
1088
1110
|
|
|
@@ -1112,7 +1134,7 @@ ALIASES
|
|
|
1112
1134
|
$ eas build:submit
|
|
1113
1135
|
```
|
|
1114
1136
|
|
|
1115
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1137
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/submit.ts)_
|
|
1116
1138
|
|
|
1117
1139
|
## `eas update`
|
|
1118
1140
|
|
|
@@ -1144,7 +1166,7 @@ DESCRIPTION
|
|
|
1144
1166
|
publish an update group
|
|
1145
1167
|
```
|
|
1146
1168
|
|
|
1147
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1169
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/update/index.ts)_
|
|
1148
1170
|
|
|
1149
1171
|
## `eas update:configure`
|
|
1150
1172
|
|
|
@@ -1162,7 +1184,7 @@ DESCRIPTION
|
|
|
1162
1184
|
configure the project to support EAS Update
|
|
1163
1185
|
```
|
|
1164
1186
|
|
|
1165
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1187
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1166
1188
|
|
|
1167
1189
|
## `eas update:delete GROUPID`
|
|
1168
1190
|
|
|
@@ -1183,7 +1205,7 @@ DESCRIPTION
|
|
|
1183
1205
|
delete all the updates in an update group
|
|
1184
1206
|
```
|
|
1185
1207
|
|
|
1186
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1208
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1187
1209
|
|
|
1188
1210
|
## `eas update:list`
|
|
1189
1211
|
|
|
@@ -1205,7 +1227,7 @@ DESCRIPTION
|
|
|
1205
1227
|
view the recent updates
|
|
1206
1228
|
```
|
|
1207
1229
|
|
|
1208
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1230
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/update/list.ts)_
|
|
1209
1231
|
|
|
1210
1232
|
## `eas update:republish`
|
|
1211
1233
|
|
|
@@ -1229,7 +1251,7 @@ DESCRIPTION
|
|
|
1229
1251
|
roll back to an existing update
|
|
1230
1252
|
```
|
|
1231
1253
|
|
|
1232
|
-
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1254
|
+
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1233
1255
|
|
|
1234
1256
|
## `eas update:view GROUPID`
|
|
1235
1257
|
|
|
@@ -1249,7 +1271,7 @@ DESCRIPTION
|
|
|
1249
1271
|
update group details
|
|
1250
1272
|
```
|
|
1251
1273
|
|
|
1252
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1274
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/update/view.ts)_
|
|
1253
1275
|
|
|
1254
1276
|
## `eas webhook:create`
|
|
1255
1277
|
|
|
@@ -1270,7 +1292,7 @@ DESCRIPTION
|
|
|
1270
1292
|
create a webhook
|
|
1271
1293
|
```
|
|
1272
1294
|
|
|
1273
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1295
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1274
1296
|
|
|
1275
1297
|
## `eas webhook:delete [ID]`
|
|
1276
1298
|
|
|
@@ -1290,7 +1312,7 @@ DESCRIPTION
|
|
|
1290
1312
|
delete a webhook
|
|
1291
1313
|
```
|
|
1292
1314
|
|
|
1293
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1315
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1294
1316
|
|
|
1295
1317
|
## `eas webhook:list`
|
|
1296
1318
|
|
|
@@ -1308,7 +1330,7 @@ DESCRIPTION
|
|
|
1308
1330
|
list webhooks
|
|
1309
1331
|
```
|
|
1310
1332
|
|
|
1311
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1333
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1312
1334
|
|
|
1313
1335
|
## `eas webhook:update`
|
|
1314
1336
|
|
|
@@ -1330,7 +1352,7 @@ DESCRIPTION
|
|
|
1330
1352
|
update a webhook
|
|
1331
1353
|
```
|
|
1332
1354
|
|
|
1333
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1355
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1334
1356
|
|
|
1335
1357
|
## `eas webhook:view ID`
|
|
1336
1358
|
|
|
@@ -1347,7 +1369,7 @@ DESCRIPTION
|
|
|
1347
1369
|
view a webhook
|
|
1348
1370
|
```
|
|
1349
1371
|
|
|
1350
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1372
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.12.1/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1351
1373
|
|
|
1352
1374
|
## `eas whoami`
|
|
1353
1375
|
|
package/build/build/context.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { CredentialsContext } from '../credentials/context';
|
|
|
7
7
|
import { Target } from '../credentials/ios/types';
|
|
8
8
|
import { BuildResourceClass } from '../graphql/generated';
|
|
9
9
|
import { GradleBuildContext } from '../project/android/gradle';
|
|
10
|
+
import { CustomBuildConfigMetadata } from '../project/customBuildConfig';
|
|
10
11
|
import { XcodeBuildContext } from '../project/ios/scheme';
|
|
11
12
|
import { Actor } from '../user/User';
|
|
12
13
|
import { LocalBuildOptions } from './local';
|
|
@@ -46,6 +47,7 @@ export interface BuildContext<T extends Platform> {
|
|
|
46
47
|
graphqlClient: ExpoGraphqlClient;
|
|
47
48
|
analytics: Analytics;
|
|
48
49
|
workflow: Workflow;
|
|
50
|
+
customBuildConfigMetadata?: CustomBuildConfigMetadata;
|
|
49
51
|
android: T extends Platform.ANDROID ? AndroidBuildContext : undefined;
|
|
50
52
|
ios: T extends Platform.IOS ? IosBuildContext : undefined;
|
|
51
53
|
}
|
|
@@ -3,10 +3,11 @@ import { BuildProfile, EasJson, ResourceClass } from '@expo/eas-json';
|
|
|
3
3
|
import { Analytics } from '../analytics/AnalyticsManager';
|
|
4
4
|
import { DynamicConfigContextFn } from '../commandUtils/context/DynamicProjectConfigContextField';
|
|
5
5
|
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
|
|
6
|
+
import { CustomBuildConfigMetadata } from '../project/customBuildConfig';
|
|
6
7
|
import { Actor } from '../user/User';
|
|
7
8
|
import { BuildContext } from './context';
|
|
8
9
|
import { LocalBuildOptions } from './local';
|
|
9
|
-
export declare function createBuildContextAsync<T extends Platform>({ buildProfileName, buildProfile, easJsonCliConfig, clearCache, localBuildOptions, nonInteractive, noWait, platform, projectDir, resourceClassFlag, message, actor, graphqlClient, analytics, getDynamicProjectConfigAsync, }: {
|
|
10
|
+
export declare function createBuildContextAsync<T extends Platform>({ buildProfileName, buildProfile, easJsonCliConfig, clearCache, localBuildOptions, nonInteractive, noWait, platform, projectDir, resourceClassFlag, message, actor, graphqlClient, analytics, getDynamicProjectConfigAsync, customBuildConfigMetadata, }: {
|
|
10
11
|
buildProfileName: string;
|
|
11
12
|
buildProfile: BuildProfile<T>;
|
|
12
13
|
easJsonCliConfig: EasJson['cli'];
|
|
@@ -22,4 +23,5 @@ export declare function createBuildContextAsync<T extends Platform>({ buildProfi
|
|
|
22
23
|
graphqlClient: ExpoGraphqlClient;
|
|
23
24
|
analytics: Analytics;
|
|
24
25
|
getDynamicProjectConfigAsync: DynamicConfigContextFn;
|
|
26
|
+
customBuildConfigMetadata?: CustomBuildConfigMetadata;
|
|
25
27
|
}): Promise<BuildContext<T>>;
|
|
@@ -14,7 +14,7 @@ const workflow_1 = require("../project/workflow");
|
|
|
14
14
|
const build_1 = require("./android/build");
|
|
15
15
|
const build_2 = require("./ios/build");
|
|
16
16
|
const resourceClass_1 = require("./utils/resourceClass");
|
|
17
|
-
async function createBuildContextAsync({ buildProfileName, buildProfile, easJsonCliConfig, clearCache = false, localBuildOptions, nonInteractive, noWait, platform, projectDir, resourceClassFlag, message, actor, graphqlClient, analytics, getDynamicProjectConfigAsync, }) {
|
|
17
|
+
async function createBuildContextAsync({ buildProfileName, buildProfile, easJsonCliConfig, clearCache = false, localBuildOptions, nonInteractive, noWait, platform, projectDir, resourceClassFlag, message, actor, graphqlClient, analytics, getDynamicProjectConfigAsync, customBuildConfigMetadata, }) {
|
|
18
18
|
const { exp, projectId } = await getDynamicProjectConfigAsync({ env: buildProfile.env });
|
|
19
19
|
const projectName = exp.slug;
|
|
20
20
|
const account = await (0, projectUtils_1.getOwnerAccountForProjectIdAsync)(graphqlClient, projectId);
|
|
@@ -72,6 +72,7 @@ async function createBuildContextAsync({ buildProfileName, buildProfile, easJson
|
|
|
72
72
|
workflow,
|
|
73
73
|
message,
|
|
74
74
|
runFromCI,
|
|
75
|
+
customBuildConfigMetadata,
|
|
75
76
|
};
|
|
76
77
|
if (platform === eas_build_job_1.Platform.ANDROID) {
|
|
77
78
|
const common = commonContext;
|
package/build/build/metadata.js
CHANGED
|
@@ -15,7 +15,7 @@ const vcs_1 = require("../vcs");
|
|
|
15
15
|
const version_1 = require("./android/version");
|
|
16
16
|
const version_2 = require("./ios/version");
|
|
17
17
|
async function collectMetadataAsync(ctx) {
|
|
18
|
-
var _a, _b, _c;
|
|
18
|
+
var _a, _b, _c, _d;
|
|
19
19
|
const vcsClient = (0, vcs_1.getVcsClient)();
|
|
20
20
|
const channelOrReleaseChannel = await resolveChannelOrReleaseChannelAsync(ctx);
|
|
21
21
|
const distribution = (_a = ('simulator' in ctx.buildProfile && ctx.buildProfile.simulator
|
|
@@ -46,6 +46,7 @@ async function collectMetadataAsync(ctx) {
|
|
|
46
46
|
runWithNoWaitFlag: ctx.noWait,
|
|
47
47
|
runFromCI: ctx.runFromCI,
|
|
48
48
|
buildMode: ctx.buildProfile.config ? eas_build_job_1.BuildMode.CUSTOM : eas_build_job_1.BuildMode.BUILD,
|
|
49
|
+
customWorkflowName: (_d = ctx.customBuildConfigMetadata) === null || _d === void 0 ? void 0 : _d.workflowName,
|
|
49
50
|
};
|
|
50
51
|
return (0, eas_build_job_1.sanitizeMetadata)(metadata);
|
|
51
52
|
}
|
|
@@ -61,13 +61,18 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flag
|
|
|
61
61
|
nonInteractive: flags.nonInteractive,
|
|
62
62
|
buildProfiles,
|
|
63
63
|
});
|
|
64
|
+
const customBuildConfigMetadataByPlatform = {};
|
|
64
65
|
for (const buildProfile of buildProfiles) {
|
|
65
66
|
(0, remoteVersionSource_1.validateBuildProfileVersionSettings)(buildProfile, easJsonCliConfig);
|
|
66
|
-
await (0, customBuildConfig_1.validateCustomBuildConfigAsync)(projectDir, buildProfile.profile);
|
|
67
|
+
const maybeMetadata = await (0, customBuildConfig_1.validateCustomBuildConfigAsync)(projectDir, buildProfile.profile);
|
|
68
|
+
if (maybeMetadata) {
|
|
69
|
+
customBuildConfigMetadataByPlatform[(0, AppPlatform_1.toAppPlatform)(buildProfile.platform)] = maybeMetadata;
|
|
70
|
+
}
|
|
67
71
|
}
|
|
68
72
|
const startedBuilds = [];
|
|
69
73
|
const buildCtxByPlatform = {};
|
|
70
74
|
for (const buildProfile of buildProfiles) {
|
|
75
|
+
const platform = (0, AppPlatform_1.toAppPlatform)(buildProfile.platform);
|
|
71
76
|
const { build: maybeBuild, buildCtx } = await prepareAndStartBuildAsync({
|
|
72
77
|
projectDir,
|
|
73
78
|
flags,
|
|
@@ -78,11 +83,12 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flag
|
|
|
78
83
|
graphqlClient,
|
|
79
84
|
analytics,
|
|
80
85
|
getDynamicProjectConfigAsync,
|
|
86
|
+
customBuildConfigMetadata: customBuildConfigMetadataByPlatform[platform],
|
|
81
87
|
});
|
|
82
88
|
if (maybeBuild) {
|
|
83
89
|
startedBuilds.push({ build: maybeBuild, buildProfile });
|
|
84
90
|
}
|
|
85
|
-
buildCtxByPlatform[
|
|
91
|
+
buildCtxByPlatform[platform] = buildCtx;
|
|
86
92
|
}
|
|
87
93
|
if (flags.localBuildOptions.localBuildMode) {
|
|
88
94
|
return;
|
|
@@ -151,7 +157,7 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flag
|
|
|
151
157
|
}
|
|
152
158
|
}
|
|
153
159
|
exports.runBuildAndSubmitAsync = runBuildAndSubmitAsync;
|
|
154
|
-
async function prepareAndStartBuildAsync({ projectDir, flags, moreBuilds, buildProfile, easJsonCliConfig, actor, graphqlClient, analytics, getDynamicProjectConfigAsync, }) {
|
|
160
|
+
async function prepareAndStartBuildAsync({ projectDir, flags, moreBuilds, buildProfile, easJsonCliConfig, actor, graphqlClient, analytics, getDynamicProjectConfigAsync, customBuildConfigMetadata, }) {
|
|
155
161
|
const buildCtx = await (0, createContext_1.createBuildContextAsync)({
|
|
156
162
|
buildProfileName: buildProfile.profileName,
|
|
157
163
|
resourceClassFlag: flags.resourceClass,
|
|
@@ -168,6 +174,7 @@ async function prepareAndStartBuildAsync({ projectDir, flags, moreBuilds, buildP
|
|
|
168
174
|
graphqlClient,
|
|
169
175
|
analytics,
|
|
170
176
|
getDynamicProjectConfigAsync,
|
|
177
|
+
customBuildConfigMetadata,
|
|
171
178
|
});
|
|
172
179
|
if (moreBuilds) {
|
|
173
180
|
log_1.default.newLine();
|