7
eas build-and-submit (Documentation request)
complete
Dan Woodward
~~Would it be possible to have a command which will build a given config and then trigger a submission automatically once the build completes? This would be especially useful in a CI system where we cannot wait for the build to complete.~~
--- As mentioned below, this is possible with the --auto-submit flag, I've just tried and it's working nicely for both platforms. To that point, I'm updating this post to be a request to add this feature to the documentation. It is currently not listed in the docs for either eas build or submit (or anywhere else that I can find, besides the --help in the CLI).
Charles Burgess
Isn’t this what the auto submit flag does?
Try
eas build --auto-submit
Brent Vatne
complete
as discussed in the comments,
--auto-submit
handles thisToru Shimogaisho
How about do build and submit in succession? The following is an example of Github Actions.
- name: EAS Build
run: eas build --platform all --non-interactive
- name: EAS Submit
if: success()
run: eas submit -p all --latest --non-interactive
Does the CI you are using mean that it is difficult to wait for the build to complete?
Michael Wood
Toru Shimogaisho: Charles is correct. There is already an
--auto-submit
option for this. There's also --auto-submit-with-profile=PROFILE_NAME
gaishimo
Michael Wood: Sure👍 Thank you for telling me.
Charles Burgess
Isn’t this what the auto submit flag does?
Try
eas build --auto-submit
Dan Woodward
Charles Burgess: Ahhh I had not found this. I'll give it a try, could be exactly what I need
Dan Woodward
Charles Burgess: Is this documented anywhere? I cannot find any reference to it (though I just noticed it's listed under eas build --help). I'm trying to work out if there's a better way to provide the apple app specific password, like through app.json or eas.json maybe?
Charles Burgess
Dan Woodward: this is all in the docs for the eas-cli Npm package.