mirror of
https://github.com/status-im/status-react.git
synced 2025-02-04 07:06:18 +00:00
use build_no script
This commit is contained in:
parent
a3e3cd7891
commit
b612fccb70
@ -61,7 +61,7 @@ timeout(90) {
|
||||
|
||||
stage('Build (iOS)') {
|
||||
withCredentials([string(credentialsId: 'jenkins_pass', variable: 'password')]) {
|
||||
def build_no = sh(returnStdout: true, script: 'git rev-list --count HEAD').trim()
|
||||
def build_no = sh(returnStdout: true, script: './scripts/build_no.sh --tag').trim()
|
||||
sh ('plutil -replace CFBundleShortVersionString -string ' + latest_tag + ' 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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user