Mattermost Logo
We're hiring!
Edit on GitHub

Bump Version Number

This must be done in your local copy of the mattermost-mobile

  1. Source the environment variables
    export LC_ALL="en_US.UTF-8"
       
    ############ MATTERMOST BUILD ############
    export COMMIT_CHANGES_TO_GIT=true
    export BRANCH_TO_BUILD=master
    export GIT_LOCAL_BRANCH=version-number
    export RESET_GIT_BRANCH=false
       
       
    export INCREMENT_VERSION_NUMBER_MESSAGE="Bump app version number to"
    export VERSION_NUMBER=
    
  1. Increase the version number of the app.

    • $ cd fastlane in the mattermost-mobile directory.
    • run $ fastlane set_app_version.
  2. Submit a PR on the mobile repo with the branch version-number.

  3. Merge the PR into master and cherry-pick to the release branch.