From b612fccb700444f34ae08fc861897d650c76d406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 24 May 2018 11:53:38 +0200 Subject: [PATCH] use build_no script --- Jenkinsfile.nightly_fastlane | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile.nightly_fastlane b/Jenkinsfile.nightly_fastlane index ffb4a02e1b..cfabb7f000 100644 --- a/Jenkinsfile.nightly_fastlane +++ b/Jenkinsfile.nightly_fastlane @@ -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'