Hi, I have a workflow which generates an IPA and uploads to s3 and hockey App. Currently, it has fixed Xcode version.
I would like to have an autoincrement for my ios builds and assign that incremented variable value to the s3.
How can I achieve this objective?
Hi!
You can use the Set Xcode Project Build Number
step to change the project’s build number. You need to add this step before the “Xcode Archive & Export for iOS” step something like this:
Here is a guide for it:
All Bitrise builds have a build number. The first build of your app is, by default, number 1, and the build number gets incremented with each build. You can also take care of your app’s versioning automatically, using Bitrise.
Will it autoincrement? or give fixed value every time workflow runs?
Yes, it will increment automatically by the $BITRISE_BUILD_NUMBER.
So if your build number is 14, then your project version will be like: 1.3.14
And in your next build your project version will be: 1.3.15
And so on.
system
Closed
May 18, 2019, 3:42pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.