Skip to content

CI/CD - Use build number provided by CI/CD services #316

@phongvhd93

Description

@phongvhd93

Why

CI/CD tools like Bitrise, GitHubAction, and Codemagic provide the build number so we can use that for the build number of the application. We will update our templates for Bitrise and GitHubAction to get the following benefit:

  • It is easier to track the commit of a version.
  • Make the build number more predictable.
  • Avoid duplicate build numbers when rebuilding the same commit (after registering a new device, we must re-deploy the app).
  • CI machines don't have to clone the whole project history to get the correct number of commits, reducing the overall build time and the cost of running CI/CD.

Who Benefits?

@nimblehq/ios-chapter

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions