Handle multiple builds on same version

This isn’t a question related to specific expo functionality, more a question of best practices/process.

Our teams CI/CD does builds automatically when a PR is open, and we don’t do anything to the package.json version number until we are cutting a new release. Because we have multiple PRs running at once, when we run a build the JS bundle updates for that package.json version, which means that all builds under that specific package.json version have the code for the latest build that was run.

Is there a good way to make package.json version numbers reliably unique for this? I looked into using npm version but I am hesitant to use that because if multiple people don’t coordinate then they could update their local builds to the same version number and we’d be in the same situation.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.