ci: default releases to Jenkins build number
This commit is contained in:
@@ -4,8 +4,8 @@ pipeline {
|
||||
parameters {
|
||||
string(
|
||||
name: 'IOS_BUILD_NUMBER',
|
||||
defaultValue: '2',
|
||||
description: 'Positive, monotonically increasing App Store build number.'
|
||||
defaultValue: '',
|
||||
description: 'Optional App Store build number override. Blank uses the Jenkins build number.'
|
||||
)
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ pipeline {
|
||||
|
||||
stage('Signed iOS IPA') {
|
||||
steps {
|
||||
sh './scripts/ci/build-ios-signed.sh "$IOS_BUILD_NUMBER"'
|
||||
sh './scripts/ci/build-ios-signed.sh "${IOS_BUILD_NUMBER:-$BUILD_NUMBER}"'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user