remove git tag steps that seem pointless

I really don't see what these are for so I'm just gonna drop them
This commit is contained in:
Jakub Sokołowski 2018-05-17 09:27:51 +02:00
parent c80d4bd62c
commit 9622fd5b84
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
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')