-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1/1][eas-cli] generate eas-update-metadata.json on publish #2158
Conversation
/changelog-entry new-feature patch metadata.json with eas info on publish |
✅ Thank you for adding the changelog entry! |
Size Change: +249 B (0%) Total Size: 55.5 MB
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about putting this in a separate file? Something like eas-update-metadata.json
or eas-update-info.json
?
I worry that putting it in the same file could cause nondeterministic issues for other tooling that depends on metadata.json
being just the original.
7112b84
to
b643853
Compare
@wschurman i've amended the PR to generate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks reasonable to me, but I'm leaving the review for the others, more familiar with the matter
Why
When we publish an update, a
metadata.json
file gets generated in thedist
folder. This PR patches themetadata.json
with someeas
metadata.motivation
It would be nice to have this for sentry-expo integration. While it is possible for users to specify the
json
flag for the update command to output the same information, it will be nicer if we can tell people to just runeas update
and then run another script that will read from themetadata.json
fileTest Plan
manually tested