move build_no.sh to scripts/
This commit is contained in:
parent
09c11e9061
commit
bf0e8ddd5f
|
@ -64,7 +64,7 @@ timeout(90) {
|
|||
}
|
||||
|
||||
stage('Build (iOS)') {
|
||||
def build_no = sh(returnStdout: true, script: './build_no.sh --tag').trim()
|
||||
def build_no = sh(returnStdout: true, script: './scripts/build_no.sh --tag').trim()
|
||||
sh ('plutil -replace CFBundleShortVersionString -string ' + version + ' ios/StatusIm/Info.plist')
|
||||
sh ('plutil -replace CFBundleVersion -string ' + build_no + ' ios/StatusIm/Info.plist')
|
||||
sh 'export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/StatusIm.xcworkspace -scheme StatusIm -configuration release -archivePath status clean archive'
|
||||
|
|
|
@ -65,7 +65,7 @@ timeout(90) {
|
|||
|
||||
stage('Build (iOS)') {
|
||||
withCredentials([string(credentialsId: 'jenkins_pass', variable: 'password')]) {
|
||||
def build_no = sh(returnStdout: true, script: './build_no.sh --tag').trim()
|
||||
def build_no = sh(returnStdout: true, script: './scripts/build_no.sh --tag').trim()
|
||||
sh ('plutil -replace CFBundleShortVersionString -string ' + version + ' ios/StatusIm/Info.plist')
|
||||
sh ('plutil -replace CFBundleVersion -string ' + build_no + ' ios/StatusIm/Info.plist')
|
||||
sh 'export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/StatusIm.xcworkspace -scheme StatusIm -configuration release -archivePath status clean archive'
|
||||
|
|
|
@ -98,7 +98,7 @@ def enableProguardInReleaseBuilds = false
|
|||
def getVersionCode = { ->
|
||||
new ByteArrayOutputStream().withStream { stdOut ->
|
||||
exec {
|
||||
commandLine "sh", "../../build_no.sh", "--tag"
|
||||
commandLine "sh", "../../scripts/build_no.sh", "--tag"
|
||||
standardOutput = stdOut
|
||||
errorOutput = System.err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue