eas-cli 5.4.0 → 5.5.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 +103 -55
- package/build/branch/utils.d.ts +2 -1
- package/build/branch/utils.js +2 -4
- package/build/build/android/build.js +5 -3
- package/build/build/android/prepareJob.js +1 -2
- package/build/build/android/syncProjectConfiguration.d.ts +3 -1
- package/build/build/android/syncProjectConfiguration.js +2 -2
- package/build/build/android/version.d.ts +4 -2
- package/build/build/android/version.js +4 -4
- package/build/build/build.d.ts +1 -3
- package/build/build/build.js +7 -58
- package/build/build/configure.d.ts +2 -0
- package/build/build/configure.js +9 -10
- package/build/build/context.d.ts +4 -0
- package/build/build/createContext.d.ts +3 -1
- package/build/build/createContext.js +7 -2
- package/build/build/ios/build.js +4 -0
- package/build/build/ios/prepareJob.js +1 -2
- package/build/build/ios/syncProjectConfiguration.d.ts +3 -1
- package/build/build/ios/syncProjectConfiguration.js +3 -3
- package/build/build/ios/version.d.ts +6 -4
- package/build/build/ios/version.js +10 -10
- package/build/build/metadata.js +7 -8
- package/build/build/runBuildAndSubmit.d.ts +2 -1
- package/build/build/runBuildAndSubmit.js +12 -8
- package/build/build/utils/devClient.d.ts +3 -1
- package/build/build/utils/devClient.js +6 -7
- package/build/build/utils/repository.d.ts +6 -5
- package/build/build/utils/repository.js +14 -15
- package/build/build/utils/resourceClass.js +3 -12
- package/build/build/validate.js +2 -3
- package/build/commandUtils/EasCommand.d.ts +4 -0
- package/build/commandUtils/EasCommand.js +4 -0
- package/build/commandUtils/context/VcsClientContextField.d.ts +5 -0
- package/build/commandUtils/context/VcsClientContextField.js +11 -0
- package/build/commands/branch/create.d.ts +1 -0
- package/build/commands/branch/create.js +3 -2
- package/build/commands/build/cancel.d.ts +1 -0
- package/build/commands/build/cancel.js +1 -0
- package/build/commands/build/configure.d.ts +1 -0
- package/build/commands/build/configure.js +8 -6
- package/build/commands/build/index.d.ts +1 -0
- package/build/commands/build/index.js +3 -2
- package/build/commands/build/inspect.d.ts +1 -0
- package/build/commands/build/inspect.js +5 -6
- package/build/commands/build/internal.d.ts +1 -0
- package/build/commands/build/internal.js +3 -2
- package/build/commands/build/list.d.ts +1 -0
- package/build/commands/build/list.js +1 -0
- package/build/commands/build/resign.d.ts +1 -0
- package/build/commands/build/resign.js +5 -3
- package/build/commands/build/run.d.ts +1 -0
- package/build/commands/build/run.js +1 -0
- package/build/commands/build/version/get.d.ts +1 -0
- package/build/commands/build/version/get.js +3 -1
- package/build/commands/build/version/set.d.ts +1 -0
- package/build/commands/build/version/set.js +3 -1
- package/build/commands/build/version/sync.d.ts +1 -0
- package/build/commands/build/version/sync.js +9 -4
- package/build/commands/build/view.d.ts +1 -0
- package/build/commands/build/view.js +1 -0
- package/build/commands/credentials.d.ts +1 -0
- package/build/commands/credentials.js +3 -2
- package/build/commands/diagnostics.d.ts +1 -0
- package/build/commands/diagnostics.js +6 -5
- package/build/commands/metadata/pull.d.ts +1 -0
- package/build/commands/metadata/pull.js +4 -2
- package/build/commands/metadata/push.d.ts +1 -0
- package/build/commands/metadata/push.js +4 -2
- package/build/commands/project/init.d.ts +1 -0
- package/build/commands/project/init.js +43 -11
- package/build/commands/submit.d.ts +1 -0
- package/build/commands/submit.js +3 -1
- package/build/commands/update/configure.d.ts +1 -0
- package/build/commands/update/configure.js +4 -3
- package/build/commands/update/index.d.ts +1 -0
- package/build/commands/update/index.js +17 -11
- package/build/commands/update/roll-back-to-embedded.d.ts +1 -1
- package/build/commands/update/roll-back-to-embedded.js +8 -6
- package/build/commands/update/rollback.d.ts +0 -1
- package/build/commands/update/rollback.js +0 -1
- package/build/credentials/android/actions/BuildCredentialsUtils.js +1 -1
- package/build/credentials/android/api/GraphqlClient.js +0 -1
- package/build/credentials/context.d.ts +3 -0
- package/build/credentials/context.js +1 -0
- package/build/credentials/credentialsJson/update.js +6 -8
- package/build/credentials/ios/actions/DeviceUtils.js +1 -1
- package/build/credentials/manager/HelperActions.d.ts +2 -0
- package/build/credentials/manager/ManageAndroid.js +2 -1
- package/build/credentials/manager/ManageIos.js +3 -0
- package/build/credentials/manager/SelectPlatform.d.ts +3 -1
- package/build/credentials/manager/SelectPlatform.js +2 -1
- package/build/graphql/generated.d.ts +457 -4
- package/build/graphql/generated.js +7 -2
- package/build/graphql/types/Account.js +4 -0
- package/build/graphql/types/credentials/AppleDevice.js +1 -0
- package/build/metadata/auth.js +4 -4
- package/build/project/android/applicationId.d.ts +4 -2
- package/build/project/android/applicationId.js +5 -5
- package/build/project/android/gradle.d.ts +2 -1
- package/build/project/android/gradle.js +2 -2
- package/build/project/applicationIdentifier.d.ts +3 -1
- package/build/project/applicationIdentifier.js +10 -7
- package/build/project/ios/bundleIdentifier.d.ts +4 -2
- package/build/project/ios/bundleIdentifier.js +5 -5
- package/build/project/ios/entitlements.d.ts +2 -1
- package/build/project/ios/entitlements.js +2 -2
- package/build/project/ios/scheme.d.ts +3 -1
- package/build/project/ios/scheme.js +2 -2
- package/build/project/ios/target.d.ts +4 -2
- package/build/project/ios/target.js +10 -8
- package/build/project/projectUtils.d.ts +1 -0
- package/build/project/projectUtils.js +12 -1
- package/build/project/publish.d.ts +6 -4
- package/build/project/publish.js +10 -11
- package/build/project/workflow.d.ts +4 -3
- package/build/project/workflow.js +5 -8
- package/build/submit/android/AndroidSubmitCommand.js +1 -1
- package/build/submit/context.d.ts +3 -0
- package/build/submit/context.js +2 -1
- package/build/submit/ios/AppProduce.js +1 -1
- package/build/submit/ios/AscApiKeySource.js +1 -1
- package/build/update/configure.d.ts +3 -1
- package/build/update/configure.js +5 -5
- package/build/update/ios/UpdatesModule.d.ts +2 -1
- package/build/update/ios/UpdatesModule.js +4 -5
- package/build/uploads.d.ts +1 -1
- package/build/uploads.js +2 -1
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -110,6 +110,8 @@ eas --help COMMAND
|
|
|
110
110
|
* [`eas update:delete GROUPID`](#eas-updatedelete-groupid)
|
|
111
111
|
* [`eas update:list`](#eas-updatelist)
|
|
112
112
|
* [`eas update:republish`](#eas-updaterepublish)
|
|
113
|
+
* [`eas update:roll-back-to-embedded`](#eas-updateroll-back-to-embedded)
|
|
114
|
+
* [`eas update:rollback`](#eas-updaterollback)
|
|
113
115
|
* [`eas update:view GROUPID`](#eas-updateview-groupid)
|
|
114
116
|
* [`eas webhook:create`](#eas-webhookcreate)
|
|
115
117
|
* [`eas webhook:delete [ID]`](#eas-webhookdelete-id)
|
|
@@ -133,7 +135,7 @@ ALIASES
|
|
|
133
135
|
$ eas login
|
|
134
136
|
```
|
|
135
137
|
|
|
136
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
138
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
137
139
|
|
|
138
140
|
## `eas account:logout`
|
|
139
141
|
|
|
@@ -150,7 +152,7 @@ ALIASES
|
|
|
150
152
|
$ eas logout
|
|
151
153
|
```
|
|
152
154
|
|
|
153
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
155
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
154
156
|
|
|
155
157
|
## `eas account:view`
|
|
156
158
|
|
|
@@ -167,7 +169,7 @@ ALIASES
|
|
|
167
169
|
$ eas whoami
|
|
168
170
|
```
|
|
169
171
|
|
|
170
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
172
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
171
173
|
|
|
172
174
|
## `eas analytics [STATUS]`
|
|
173
175
|
|
|
@@ -181,7 +183,7 @@ DESCRIPTION
|
|
|
181
183
|
display or change analytics settings
|
|
182
184
|
```
|
|
183
185
|
|
|
184
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
186
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
185
187
|
|
|
186
188
|
## `eas autocomplete [SHELL]`
|
|
187
189
|
|
|
@@ -231,7 +233,7 @@ DESCRIPTION
|
|
|
231
233
|
create a branch
|
|
232
234
|
```
|
|
233
235
|
|
|
234
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
236
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
235
237
|
|
|
236
238
|
## `eas branch:delete [NAME]`
|
|
237
239
|
|
|
@@ -252,7 +254,7 @@ DESCRIPTION
|
|
|
252
254
|
delete a branch
|
|
253
255
|
```
|
|
254
256
|
|
|
255
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
257
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
256
258
|
|
|
257
259
|
## `eas branch:list`
|
|
258
260
|
|
|
@@ -272,7 +274,7 @@ DESCRIPTION
|
|
|
272
274
|
list all branches
|
|
273
275
|
```
|
|
274
276
|
|
|
275
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
277
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
276
278
|
|
|
277
279
|
## `eas branch:rename`
|
|
278
280
|
|
|
@@ -292,7 +294,7 @@ DESCRIPTION
|
|
|
292
294
|
rename a branch
|
|
293
295
|
```
|
|
294
296
|
|
|
295
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
297
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
296
298
|
|
|
297
299
|
## `eas branch:view [NAME]`
|
|
298
300
|
|
|
@@ -315,7 +317,7 @@ DESCRIPTION
|
|
|
315
317
|
view a branch
|
|
316
318
|
```
|
|
317
319
|
|
|
318
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
320
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
319
321
|
|
|
320
322
|
## `eas build`
|
|
321
323
|
|
|
@@ -345,7 +347,7 @@ DESCRIPTION
|
|
|
345
347
|
start a build
|
|
346
348
|
```
|
|
347
349
|
|
|
348
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
350
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
349
351
|
|
|
350
352
|
## `eas build:cancel [BUILD_ID]`
|
|
351
353
|
|
|
@@ -362,7 +364,7 @@ DESCRIPTION
|
|
|
362
364
|
cancel a build
|
|
363
365
|
```
|
|
364
366
|
|
|
365
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
367
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
366
368
|
|
|
367
369
|
## `eas build:configure`
|
|
368
370
|
|
|
@@ -379,7 +381,7 @@ DESCRIPTION
|
|
|
379
381
|
configure the project to support EAS Build
|
|
380
382
|
```
|
|
381
383
|
|
|
382
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
384
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
383
385
|
|
|
384
386
|
## `eas build:inspect`
|
|
385
387
|
|
|
@@ -414,7 +416,7 @@ DESCRIPTION
|
|
|
414
416
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
415
417
|
```
|
|
416
418
|
|
|
417
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
419
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
418
420
|
|
|
419
421
|
## `eas build:list`
|
|
420
422
|
|
|
@@ -452,7 +454,7 @@ DESCRIPTION
|
|
|
452
454
|
list all builds for your project
|
|
453
455
|
```
|
|
454
456
|
|
|
455
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
457
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
456
458
|
|
|
457
459
|
## `eas build:resign`
|
|
458
460
|
|
|
@@ -478,7 +480,7 @@ DESCRIPTION
|
|
|
478
480
|
re-sign a build archive
|
|
479
481
|
```
|
|
480
482
|
|
|
481
|
-
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
483
|
+
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/build/resign.ts)_
|
|
482
484
|
|
|
483
485
|
## `eas build:run`
|
|
484
486
|
|
|
@@ -502,7 +504,7 @@ DESCRIPTION
|
|
|
502
504
|
run simulator/emulator builds from eas-cli
|
|
503
505
|
```
|
|
504
506
|
|
|
505
|
-
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
507
|
+
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/build/run.ts)_
|
|
506
508
|
|
|
507
509
|
## `eas build:submit`
|
|
508
510
|
|
|
@@ -551,7 +553,7 @@ DESCRIPTION
|
|
|
551
553
|
get the latest version from EAS servers
|
|
552
554
|
```
|
|
553
555
|
|
|
554
|
-
_See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
556
|
+
_See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/build/version/get.ts)_
|
|
555
557
|
|
|
556
558
|
## `eas build:version:set`
|
|
557
559
|
|
|
@@ -570,7 +572,7 @@ DESCRIPTION
|
|
|
570
572
|
update version of an app
|
|
571
573
|
```
|
|
572
574
|
|
|
573
|
-
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
575
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
574
576
|
|
|
575
577
|
## `eas build:version:sync`
|
|
576
578
|
|
|
@@ -589,7 +591,7 @@ DESCRIPTION
|
|
|
589
591
|
update a version in native code with a value stored on EAS servers
|
|
590
592
|
```
|
|
591
593
|
|
|
592
|
-
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
594
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
593
595
|
|
|
594
596
|
## `eas build:view [BUILD_ID]`
|
|
595
597
|
|
|
@@ -606,7 +608,7 @@ DESCRIPTION
|
|
|
606
608
|
view a build for your project
|
|
607
609
|
```
|
|
608
610
|
|
|
609
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
611
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
610
612
|
|
|
611
613
|
## `eas channel:create [NAME]`
|
|
612
614
|
|
|
@@ -627,7 +629,7 @@ DESCRIPTION
|
|
|
627
629
|
create a channel
|
|
628
630
|
```
|
|
629
631
|
|
|
630
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
632
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
631
633
|
|
|
632
634
|
## `eas channel:edit [NAME]`
|
|
633
635
|
|
|
@@ -649,7 +651,7 @@ DESCRIPTION
|
|
|
649
651
|
point a channel at a new branch
|
|
650
652
|
```
|
|
651
653
|
|
|
652
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
654
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
653
655
|
|
|
654
656
|
## `eas channel:list`
|
|
655
657
|
|
|
@@ -669,7 +671,7 @@ DESCRIPTION
|
|
|
669
671
|
list all channels
|
|
670
672
|
```
|
|
671
673
|
|
|
672
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
674
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
673
675
|
|
|
674
676
|
## `eas channel:rollout [CHANNEL]`
|
|
675
677
|
|
|
@@ -701,7 +703,7 @@ DESCRIPTION
|
|
|
701
703
|
Roll a new branch out on a channel incrementally.
|
|
702
704
|
```
|
|
703
705
|
|
|
704
|
-
_See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
706
|
+
_See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/channel/rollout.ts)_
|
|
705
707
|
|
|
706
708
|
## `eas channel:view [NAME]`
|
|
707
709
|
|
|
@@ -724,7 +726,7 @@ DESCRIPTION
|
|
|
724
726
|
view a channel
|
|
725
727
|
```
|
|
726
728
|
|
|
727
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
729
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
728
730
|
|
|
729
731
|
## `eas config`
|
|
730
732
|
|
|
@@ -745,7 +747,7 @@ DESCRIPTION
|
|
|
745
747
|
display project configuration (app.json + eas.json)
|
|
746
748
|
```
|
|
747
749
|
|
|
748
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
750
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/config.ts)_
|
|
749
751
|
|
|
750
752
|
## `eas credentials`
|
|
751
753
|
|
|
@@ -762,7 +764,7 @@ DESCRIPTION
|
|
|
762
764
|
manage credentials
|
|
763
765
|
```
|
|
764
766
|
|
|
765
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
767
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
766
768
|
|
|
767
769
|
## `eas device:create`
|
|
768
770
|
|
|
@@ -776,7 +778,7 @@ DESCRIPTION
|
|
|
776
778
|
register new Apple Devices to use for internal distribution
|
|
777
779
|
```
|
|
778
780
|
|
|
779
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
781
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
780
782
|
|
|
781
783
|
## `eas device:delete`
|
|
782
784
|
|
|
@@ -796,7 +798,7 @@ DESCRIPTION
|
|
|
796
798
|
remove a registered device from your account
|
|
797
799
|
```
|
|
798
800
|
|
|
799
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
801
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
800
802
|
|
|
801
803
|
## `eas device:list`
|
|
802
804
|
|
|
@@ -817,7 +819,7 @@ DESCRIPTION
|
|
|
817
819
|
list all registered devices for your account
|
|
818
820
|
```
|
|
819
821
|
|
|
820
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
822
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
821
823
|
|
|
822
824
|
## `eas device:rename`
|
|
823
825
|
|
|
@@ -838,7 +840,7 @@ DESCRIPTION
|
|
|
838
840
|
rename a registered device
|
|
839
841
|
```
|
|
840
842
|
|
|
841
|
-
_See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
843
|
+
_See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/device/rename.ts)_
|
|
842
844
|
|
|
843
845
|
## `eas device:view [UDID]`
|
|
844
846
|
|
|
@@ -852,7 +854,7 @@ DESCRIPTION
|
|
|
852
854
|
view a device for your project
|
|
853
855
|
```
|
|
854
856
|
|
|
855
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
857
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
856
858
|
|
|
857
859
|
## `eas diagnostics`
|
|
858
860
|
|
|
@@ -866,7 +868,7 @@ DESCRIPTION
|
|
|
866
868
|
display environment info
|
|
867
869
|
```
|
|
868
870
|
|
|
869
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
871
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
870
872
|
|
|
871
873
|
## `eas help [COMMAND]`
|
|
872
874
|
|
|
@@ -954,7 +956,7 @@ DESCRIPTION
|
|
|
954
956
|
validate the local store configuration
|
|
955
957
|
```
|
|
956
958
|
|
|
957
|
-
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
959
|
+
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
958
960
|
|
|
959
961
|
## `eas metadata:pull`
|
|
960
962
|
|
|
@@ -971,7 +973,7 @@ DESCRIPTION
|
|
|
971
973
|
generate the local store configuration from the app stores
|
|
972
974
|
```
|
|
973
975
|
|
|
974
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
976
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
975
977
|
|
|
976
978
|
## `eas metadata:push`
|
|
977
979
|
|
|
@@ -988,7 +990,7 @@ DESCRIPTION
|
|
|
988
990
|
sync the local store configuration to the app stores
|
|
989
991
|
```
|
|
990
992
|
|
|
991
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
993
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
992
994
|
|
|
993
995
|
## `eas open`
|
|
994
996
|
|
|
@@ -1002,7 +1004,7 @@ DESCRIPTION
|
|
|
1002
1004
|
open the project page in a web browser
|
|
1003
1005
|
```
|
|
1004
1006
|
|
|
1005
|
-
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1007
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/open.ts)_
|
|
1006
1008
|
|
|
1007
1009
|
## `eas project:info`
|
|
1008
1010
|
|
|
@@ -1016,7 +1018,7 @@ DESCRIPTION
|
|
|
1016
1018
|
information about the current project
|
|
1017
1019
|
```
|
|
1018
1020
|
|
|
1019
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1021
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
1020
1022
|
|
|
1021
1023
|
## `eas project:init`
|
|
1022
1024
|
|
|
@@ -1038,7 +1040,7 @@ ALIASES
|
|
|
1038
1040
|
$ eas init
|
|
1039
1041
|
```
|
|
1040
1042
|
|
|
1041
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1043
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
1042
1044
|
|
|
1043
1045
|
## `eas secret:create`
|
|
1044
1046
|
|
|
@@ -1061,7 +1063,7 @@ DESCRIPTION
|
|
|
1061
1063
|
create an environment secret on the current project or owner account
|
|
1062
1064
|
```
|
|
1063
1065
|
|
|
1064
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1066
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
1065
1067
|
|
|
1066
1068
|
## `eas secret:delete`
|
|
1067
1069
|
|
|
@@ -1079,7 +1081,7 @@ DESCRIPTION
|
|
|
1079
1081
|
delete an environment secret by ID
|
|
1080
1082
|
```
|
|
1081
1083
|
|
|
1082
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1084
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1083
1085
|
|
|
1084
1086
|
## `eas secret:list`
|
|
1085
1087
|
|
|
@@ -1093,7 +1095,7 @@ DESCRIPTION
|
|
|
1093
1095
|
list environment secrets available for your current app
|
|
1094
1096
|
```
|
|
1095
1097
|
|
|
1096
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1098
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1097
1099
|
|
|
1098
1100
|
## `eas secret:push`
|
|
1099
1101
|
|
|
@@ -1113,7 +1115,7 @@ DESCRIPTION
|
|
|
1113
1115
|
read environment secrets from env file and store on the server
|
|
1114
1116
|
```
|
|
1115
1117
|
|
|
1116
|
-
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1118
|
+
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1117
1119
|
|
|
1118
1120
|
## `eas submit`
|
|
1119
1121
|
|
|
@@ -1143,7 +1145,7 @@ ALIASES
|
|
|
1143
1145
|
$ eas build:submit
|
|
1144
1146
|
```
|
|
1145
1147
|
|
|
1146
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1148
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/submit.ts)_
|
|
1147
1149
|
|
|
1148
1150
|
## `eas update`
|
|
1149
1151
|
|
|
@@ -1177,7 +1179,7 @@ DESCRIPTION
|
|
|
1177
1179
|
publish an update group
|
|
1178
1180
|
```
|
|
1179
1181
|
|
|
1180
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1182
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
1181
1183
|
|
|
1182
1184
|
## `eas update:configure`
|
|
1183
1185
|
|
|
@@ -1195,7 +1197,7 @@ DESCRIPTION
|
|
|
1195
1197
|
configure the project to support EAS Update
|
|
1196
1198
|
```
|
|
1197
1199
|
|
|
1198
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1200
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1199
1201
|
|
|
1200
1202
|
## `eas update:delete GROUPID`
|
|
1201
1203
|
|
|
@@ -1216,7 +1218,7 @@ DESCRIPTION
|
|
|
1216
1218
|
delete all the updates in an update group
|
|
1217
1219
|
```
|
|
1218
1220
|
|
|
1219
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1221
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1220
1222
|
|
|
1221
1223
|
## `eas update:list`
|
|
1222
1224
|
|
|
@@ -1238,7 +1240,7 @@ DESCRIPTION
|
|
|
1238
1240
|
view the recent updates
|
|
1239
1241
|
```
|
|
1240
1242
|
|
|
1241
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1243
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
1242
1244
|
|
|
1243
1245
|
## `eas update:republish`
|
|
1244
1246
|
|
|
@@ -1265,7 +1267,53 @@ DESCRIPTION
|
|
|
1265
1267
|
roll back to an existing update
|
|
1266
1268
|
```
|
|
1267
1269
|
|
|
1268
|
-
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1270
|
+
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1271
|
+
|
|
1272
|
+
## `eas update:roll-back-to-embedded`
|
|
1273
|
+
|
|
1274
|
+
roll back to the embedded update
|
|
1275
|
+
|
|
1276
|
+
```
|
|
1277
|
+
USAGE
|
|
1278
|
+
$ eas update:roll-back-to-embedded [--branch <value>] [--channel <value>] [--message <value>] [-p android|ios|all] [--auto]
|
|
1279
|
+
[--private-key-path <value>] [--json --non-interactive]
|
|
1280
|
+
|
|
1281
|
+
FLAGS
|
|
1282
|
+
-p, --platform=(android|ios|all) [default: all]
|
|
1283
|
+
--auto Use the current git branch and commit message for the EAS branch and update message
|
|
1284
|
+
--branch=<value> Branch to publish the rollback to embedded update group on
|
|
1285
|
+
--channel=<value> Channel that the published rollback to embedded update should affect
|
|
1286
|
+
--json Enable JSON output, non-JSON messages will be printed to stderr.
|
|
1287
|
+
--message=<value> A short message describing the rollback to embedded update
|
|
1288
|
+
--non-interactive Run the command in non-interactive mode.
|
|
1289
|
+
--private-key-path=<value> File containing the PEM-encoded private key corresponding to the certificate in
|
|
1290
|
+
expo-updates' configuration. Defaults to a file named "private-key.pem" in the
|
|
1291
|
+
certificate's directory.
|
|
1292
|
+
|
|
1293
|
+
DESCRIPTION
|
|
1294
|
+
roll back to the embedded update
|
|
1295
|
+
```
|
|
1296
|
+
|
|
1297
|
+
_See code: [src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/update/roll-back-to-embedded.ts)_
|
|
1298
|
+
|
|
1299
|
+
## `eas update:rollback`
|
|
1300
|
+
|
|
1301
|
+
roll back to an embedded update or an existing update
|
|
1302
|
+
|
|
1303
|
+
```
|
|
1304
|
+
USAGE
|
|
1305
|
+
$ eas update:rollback [--private-key-path <value>]
|
|
1306
|
+
|
|
1307
|
+
FLAGS
|
|
1308
|
+
--private-key-path=<value> File containing the PEM-encoded private key corresponding to the certificate in
|
|
1309
|
+
expo-updates' configuration. Defaults to a file named "private-key.pem" in the
|
|
1310
|
+
certificate's directory.
|
|
1311
|
+
|
|
1312
|
+
DESCRIPTION
|
|
1313
|
+
roll back to an embedded update or an existing update
|
|
1314
|
+
```
|
|
1315
|
+
|
|
1316
|
+
_See code: [src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/update/rollback.ts)_
|
|
1269
1317
|
|
|
1270
1318
|
## `eas update:view GROUPID`
|
|
1271
1319
|
|
|
@@ -1285,7 +1333,7 @@ DESCRIPTION
|
|
|
1285
1333
|
update group details
|
|
1286
1334
|
```
|
|
1287
1335
|
|
|
1288
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1336
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
1289
1337
|
|
|
1290
1338
|
## `eas webhook:create`
|
|
1291
1339
|
|
|
@@ -1306,7 +1354,7 @@ DESCRIPTION
|
|
|
1306
1354
|
create a webhook
|
|
1307
1355
|
```
|
|
1308
1356
|
|
|
1309
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1357
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1310
1358
|
|
|
1311
1359
|
## `eas webhook:delete [ID]`
|
|
1312
1360
|
|
|
@@ -1326,7 +1374,7 @@ DESCRIPTION
|
|
|
1326
1374
|
delete a webhook
|
|
1327
1375
|
```
|
|
1328
1376
|
|
|
1329
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1377
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1330
1378
|
|
|
1331
1379
|
## `eas webhook:list`
|
|
1332
1380
|
|
|
@@ -1344,7 +1392,7 @@ DESCRIPTION
|
|
|
1344
1392
|
list webhooks
|
|
1345
1393
|
```
|
|
1346
1394
|
|
|
1347
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1395
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1348
1396
|
|
|
1349
1397
|
## `eas webhook:update`
|
|
1350
1398
|
|
|
@@ -1366,7 +1414,7 @@ DESCRIPTION
|
|
|
1366
1414
|
update a webhook
|
|
1367
1415
|
```
|
|
1368
1416
|
|
|
1369
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1417
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1370
1418
|
|
|
1371
1419
|
## `eas webhook:view ID`
|
|
1372
1420
|
|
|
@@ -1383,7 +1431,7 @@ DESCRIPTION
|
|
|
1383
1431
|
view a webhook
|
|
1384
1432
|
```
|
|
1385
1433
|
|
|
1386
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v5.
|
|
1434
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v5.5.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1387
1435
|
|
|
1388
1436
|
## `eas whoami`
|
|
1389
1437
|
|
package/build/branch/utils.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { Client } from '../vcs/vcs';
|
|
2
|
+
export declare function getDefaultBranchNameAsync(vcsClient: Client): Promise<string>;
|
|
2
3
|
export declare class BranchNotFoundError extends Error {
|
|
3
4
|
constructor(message?: string);
|
|
4
5
|
}
|
package/build/branch/utils.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BranchNotFoundError = exports.getDefaultBranchNameAsync = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return ((await (0, vcs_1.getVcsClient)().getBranchNameAsync()) ||
|
|
7
|
-
`branch-${Math.random().toString(36).substring(2, 4)}`);
|
|
4
|
+
async function getDefaultBranchNameAsync(vcsClient) {
|
|
5
|
+
return ((await vcsClient.getBranchNameAsync()) || `branch-${Math.random().toString(36).substring(2, 4)}`);
|
|
8
6
|
}
|
|
9
7
|
exports.getDefaultBranchNameAsync = getDefaultBranchNameAsync;
|
|
10
8
|
class BranchNotFoundError extends Error {
|
|
@@ -37,11 +37,11 @@ This means that it will most likely produce an AAB and you will not be able to i
|
|
|
37
37
|
(0, validate_1.checkNodeEnvVariable)(ctx);
|
|
38
38
|
await (0, validate_1.checkGoogleServicesFileAsync)(ctx);
|
|
39
39
|
await (0, validate_1.validatePNGsForManagedProjectAsync)(ctx);
|
|
40
|
-
const gradleContext = await (0, gradle_1.resolveGradleBuildContextAsync)(ctx.projectDir, buildProfile);
|
|
40
|
+
const gradleContext = await (0, gradle_1.resolveGradleBuildContextAsync)(ctx.projectDir, buildProfile, ctx.vcsClient);
|
|
41
41
|
if (ctx.workflow === eas_build_job_1.Workflow.MANAGED) {
|
|
42
42
|
await (0, applicationId_1.ensureApplicationIdIsDefinedForManagedProjectAsync)(ctx);
|
|
43
43
|
}
|
|
44
|
-
const applicationId = await (0, applicationId_1.getApplicationIdAsync)(ctx.projectDir, ctx.exp, gradleContext);
|
|
44
|
+
const applicationId = await (0, applicationId_1.getApplicationIdAsync)(ctx.projectDir, ctx.exp, ctx.vcsClient, gradleContext);
|
|
45
45
|
const versionCodeOverride = ((_b = ctx.easJsonCliConfig) === null || _b === void 0 ? void 0 : _b.appVersionSource) === eas_json_1.AppVersionSource.REMOTE
|
|
46
46
|
? await (0, version_1.resolveRemoteVersionCodeAsync)(ctx.graphqlClient, {
|
|
47
47
|
projectDir: ctx.projectDir,
|
|
@@ -49,6 +49,7 @@ This means that it will most likely produce an AAB and you will not be able to i
|
|
|
49
49
|
exp: ctx.exp,
|
|
50
50
|
applicationId,
|
|
51
51
|
buildProfile,
|
|
52
|
+
vcsClient: ctx.vcsClient,
|
|
52
53
|
})
|
|
53
54
|
: undefined;
|
|
54
55
|
return { applicationId, gradleContext, versionCodeOverride };
|
|
@@ -69,6 +70,7 @@ async function prepareAndroidBuildAsync(ctx) {
|
|
|
69
70
|
? false
|
|
70
71
|
: ctx.buildProfile.autoIncrement,
|
|
71
72
|
projectId: ctx.projectId,
|
|
73
|
+
vcsClient: ctx.vcsClient,
|
|
72
74
|
});
|
|
73
75
|
},
|
|
74
76
|
prepareJobAsync: async (ctx, jobData) => {
|
|
@@ -94,7 +96,7 @@ async function ensureAndroidCredentialsAsync(ctx) {
|
|
|
94
96
|
if (!shouldProvideCredentials(ctx)) {
|
|
95
97
|
return;
|
|
96
98
|
}
|
|
97
|
-
const androidApplicationIdentifier = await (0, applicationId_1.getApplicationIdAsync)(ctx.projectDir, ctx.exp, ctx.android.gradleContext);
|
|
99
|
+
const androidApplicationIdentifier = await (0, applicationId_1.getApplicationIdAsync)(ctx.projectDir, ctx.exp, ctx.vcsClient, ctx.android.gradleContext);
|
|
98
100
|
const provider = new AndroidCredentialsProvider_1.default(ctx.credentialsCtx, {
|
|
99
101
|
app: {
|
|
100
102
|
account: (0, nullthrows_1.default)(ctx.user.accounts.find(a => a.name === ctx.accountName), `You do not have access to account: ${ctx.accountName}`),
|
|
@@ -7,7 +7,6 @@ const path_1 = tslib_1.__importDefault(require("path"));
|
|
|
7
7
|
const slash_1 = tslib_1.__importDefault(require("slash"));
|
|
8
8
|
const customBuildConfig_1 = require("../../project/customBuildConfig");
|
|
9
9
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
10
|
-
const vcs_1 = require("../../vcs");
|
|
11
10
|
const cacheDefaults = {
|
|
12
11
|
disabled: false,
|
|
13
12
|
paths: [],
|
|
@@ -16,7 +15,7 @@ async function prepareJobAsync(ctx, jobData) {
|
|
|
16
15
|
var _a;
|
|
17
16
|
const username = (0, projectUtils_1.getUsername)(ctx.exp, ctx.user);
|
|
18
17
|
const buildProfile = ctx.buildProfile;
|
|
19
|
-
const projectRootDirectory = (0, slash_1.default)(path_1.default.relative(await
|
|
18
|
+
const projectRootDirectory = (0, slash_1.default)(path_1.default.relative(await ctx.vcsClient.getRootPathAsync(), ctx.projectDir)) || '.';
|
|
20
19
|
const { credentials } = jobData;
|
|
21
20
|
const buildCredentials = credentials
|
|
22
21
|
? {
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ExpoConfig } from '@expo/config';
|
|
2
2
|
import { AndroidVersionAutoIncrement } from '@expo/eas-json';
|
|
3
3
|
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
4
|
-
|
|
4
|
+
import { Client } from '../../vcs/vcs';
|
|
5
|
+
export declare function syncProjectConfigurationAsync(graphqlClient: ExpoGraphqlClient, { projectDir, exp, localAutoIncrement, projectId, vcsClient, }: {
|
|
5
6
|
projectDir: string;
|
|
6
7
|
exp: ExpoConfig;
|
|
7
8
|
localAutoIncrement?: AndroidVersionAutoIncrement;
|
|
8
9
|
projectId: string;
|
|
10
|
+
vcsClient: Client;
|
|
9
11
|
}): Promise<void>;
|
|
10
12
|
export declare function cleanUpOldEasBuildGradleScriptAsync(projectDir: string): Promise<void>;
|
|
@@ -12,8 +12,8 @@ const projectUtils_1 = require("../../project/projectUtils");
|
|
|
12
12
|
const workflow_1 = require("../../project/workflow");
|
|
13
13
|
const UpdatesModule_1 = require("../../update/android/UpdatesModule");
|
|
14
14
|
const version_1 = require("./version");
|
|
15
|
-
async function syncProjectConfigurationAsync(graphqlClient, { projectDir, exp, localAutoIncrement, projectId, }) {
|
|
16
|
-
const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.ANDROID);
|
|
15
|
+
async function syncProjectConfigurationAsync(graphqlClient, { projectDir, exp, localAutoIncrement, projectId, vcsClient, }) {
|
|
16
|
+
const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.ANDROID, vcsClient);
|
|
17
17
|
const versionBumpStrategy = resolveVersionBumpStrategy(localAutoIncrement !== null && localAutoIncrement !== void 0 ? localAutoIncrement : false);
|
|
18
18
|
if (workflow === eas_build_job_1.Workflow.GENERIC) {
|
|
19
19
|
await cleanUpOldEasBuildGradleScriptAsync(projectDir);
|