Merge pull request #4305 from status-im/fix/nightly-build-tag-removal

remove git tag steps that seem pointless
This commit is contained in:
Jakub 2018-05-17 13:06:33 +02:00 committed by GitHub
commit 41900da38c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -34,7 +34,6 @@ node ('macos1'){
sh 'git fetch --tags'
latest_tag = sh(returnStdout: true, script: 'git describe --tags `git rev-list --tags=release --max-count=1`').trim()
sh 'git tag -d ' + latest_tag
sh 'rm -rf node_modules'
sh 'cp .env.nightly .env'
sh 'lein deps'
@ -58,8 +57,6 @@ node ('macos1'){
stage('Build (iOS)') {
withCredentials([string(credentialsId: 'jenkins_pass', variable: 'password')]) {
sh ('git tag -d ' + latest_tag + ' || exit 0')
sh ('git tag ' + latest_tag)
def build_no = sh(returnStdout: true, script: 'git rev-list --count HEAD').trim()
sh ('plutil -replace CFBundleShortVersionString -string ' + latest_tag + ' ios/StatusIm/Info.plist')
sh ('plutil -replace CFBundleVersion -string ' + build_no + ' ios/StatusIm/Info.plist')