Closed bruno-garcia closed 3 years ago
The generated files shouldn't be committed to the repository because they might become stale. Just like this issue shows. Instead they should be generated on CI on each run. Same thing for local builds. That behavior would have broken CI for this issue (and rightly so).
@ueman PR incoming? :P
@ueman PR incoming? :P
@denrase is not fully convinced yet: https://github.com/getsentry/sentry-mobile/pull/204#issuecomment-874093102
To be honest I thought the same as @denrase.
One alternative is to keep files there but in CI generate them and make sure they match. Break CI if they don't so someone has to intervene.
@bruno-garcia Decided to exclude the files after all. The command runs fast and we don't need to do anything special on CI. We can revert back if this turns out to be tedious.