increment_build_number¶
Increment the build number of your project
increment_build_number | |
---|---|
Supported platforms | ios, mac |
Author | @KrauseFx |
Returns | The new build number |
4 Examples¶
increment_build_number # automatically increment by one
increment_build_number(
build_number: "75" # set a specific number
)
increment_build_number(
build_number: 75, # specify specific build number (optional, omitting it increments by one)
xcodeproj: "./path/to/MyApp.xcodeproj" # (optional, you must specify the path to your main Xcode project if it is not in the project root directory)
)
build_number = increment_build_number
Parameters¶
Key | Description | Default |
---|---|---|
build_number |
Change to a specific version | |
xcodeproj |
optional, you must specify the path to your main Xcode project if it is not in the project root directory |
* = default value is dependent on the user's system
To show the documentation in your terminal, run
fastlane action increment_build_number