Skip to content
Sets the Build Number to the specified value in the Info.plist file for the next build
Branch: master
Clone or download
BirmacherAkos Maintenance (#15)
* update for the new release flow

* provide the sample app to the test workflow, so it is possible to test it in every environment

* remove the old release worklow

* update plist_path description

* clean

* update readme

* input desc. fix

* readme update

* PR clean - fix
Latest commit b803006 May 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore README update and added _tmp to .gitignore Sep 23, 2015
LICENSE Initial commit Sep 23, 2015
README.md Maintenance (#15) May 17, 2019
bitrise.yml Maintenance (#15) May 17, 2019
step.sh Added XCODE_BUNDLE_VERSION to export bundle version used in the Info.… Jul 12, 2018
step.yml Maintenance (#15) May 17, 2019

README.md

Set Xcode Project Build Number

Sets the Build Number (bundle version) to the specified value, in the target Info.plist file for the next build.

Inputs

  • plist_path: "" (required)

    Path to the given target's Info.plist file. You need to use this step for each archivable target of your project.

  • build_version: "$BITRISE_BUILD_NUMBER" (required)

    Set the CFBundleVersion to this value.

  • build_version_offset: ""

    This offset will be added to build_version input's value.

  • build_short_version_string: ""

    Set the CFBundleShortVersionString to this value.

Outputs

Exported Environment variables

  • XCODE_BUNDLE_VERSION: The bundle version used in the Info.plist file

Contribute

  1. Fork this repository
  2. Make changes
  3. Submit a PR

How to run this step from source

  1. Clone this repository
  2. cd to the cloned repository's root
  3. Create a bitrise.yml (if not yet created)
  4. Prepare a workflow that contains a step with the id: path::./

    For example:

    format_version: "6"
    default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
    
    workflows:
      my-workflow:
        steps:
        - path::./:
            inputs: 
            - my_input: "my input value"
  5. Run the workflow: bitrise run my-workflow

About

This is an official Step managed by Bitrise.io and is available in the Workflow Editor and in our Bitrise CLI tool. If you seen something in this readme that never before please visit some of our knowledge base to read more about that:

  • devcenter.bitrise.io
  • discuss.bitrise.io
  • blog.bitrise.io
You can’t perform that action at this time.