This component bumps the version $(MARKETING_VERSION)
and the build numbers $(CURRENT_PROJECT_VERSION)
according to the given strategies.
$AC_REPOSITORY_DIR
: Specifies the cloned repository directory.$AC_PROJECT_PATH
: Specifies Xcode project or workspace file.$AC_SCHEME
: Xcode Scheme$AC_BUILD_NUMBER_SOURCE
: Build number source type(env,xcode)$AC_IOS_BUILD_NUMBER
: Build number to set. If$AC_BUILD_NUMBER_SOURCE
is set toxcode
, this variable will be read from the project$AC_BUILD_OFFSET
: The number to be added or subtracted from the$AC_IOS_BUILD_NUMBER
Negative values can be written such as-10
. Default is1
$AC_VERSION_NUMBER_SOURCE
: Version number source type(env,xcode,appstore)$AC_IOS_VERSION_NUMBER
: Version number to set. If$AC_VERSION_NUMBER_SOURCE
is set toxcode
, this variable will be read from the project$AC_VERSION_STRATEGY
: Version Increment Strategy major, minor, patch or keep. Default iskeep
$AC_VERSION_OFFSET
: The number to be added or subtracted from the$AC_IOS_VERSION_NUMBER
Negative values can be written such as-10
. Default is0
$AC_IOS_CONFIGURATION_NAME
: Xcode Configuration to extract build number and version number. Default is the first target's Archive configuration$AC_TARGETS
: Name of the targets to update. You can separate multiple targets by comma. If you don't specify any target, all runnable targets will be updated.$AC_OMIT_ZERO_PATCH_VERSION
: If true omits zero in patch version(so 42.10.0 will become 42.10 and 42.10.1 will remain 42.10.1), default isfalse
$AC_BUNDLE_ID
: If the build number source isappstore
, this variable should have the bundle id of your application. Ex.com.example.myapp
$AC_APPSTORE_COUNTRY
: If the build Number source isappstore
and the app is only available in some countries, set the country code. Ex.us
$AC_IOS_NEW_BUILD_NUMBER
: Changed build number$AC_IOS_NEW_VERSION_NUMBER
: Changed version number