When to run expo publish?

Hi

Just wanted to clarify when to run expo publish? Before or after a build? Does eas build automatically publish to the release channel in eas.json if it has not been published already? In some cases I have done a publish, then build, then submit, but when i run the app in testflight it crashes. But if if i re-run publish, the app works again.

Regards,

Praveen

1 Like

Bump, anyone?

Looks like we have to run expo publish after a build based on my testing. Otherwise I am consistently getting an app crashing on load.

Also I am running these commands in CircleCI and expo publish is failing regularly with similar issues as described below in this closed thread:

Is there a solution for this as it is breaking my circle builds intermittently.

Regards

you have to run expo publish manually to update. eas build embeds your app code and does not publish any updates. if your app crashes before an update there is a bug in your app code.

the other thing you mentioned re: memory errors, that is not an issue with expo, your ci server is running out of memory when publishing.