megaphone icon Learn how to streamline incident response with Mattermost & ServiceNow on February 16th ยป
Edit on GitHub

Bump Version Number at Mattermost

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.

Did you find what you were looking for?

Thank you! We appreciate your feedback.
ร—

Tell us more

Your feedback helps us improve the Mattermost developer documentation.

Have a feature request? Share it here.

Having issues? Join our Community server.