mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 03:26:31 +00:00
Merge pull request #4305 from status-im/fix/nightly-build-tag-removal
remove git tag steps that seem pointless
This commit is contained in:
commit
41900da38c
@ -34,7 +34,6 @@ node ('macos1'){
|
|||||||
|
|
||||||
sh 'git fetch --tags'
|
sh 'git fetch --tags'
|
||||||
latest_tag = sh(returnStdout: true, script: 'git describe --tags `git rev-list --tags=release --max-count=1`').trim()
|
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 'rm -rf node_modules'
|
||||||
sh 'cp .env.nightly .env'
|
sh 'cp .env.nightly .env'
|
||||||
sh 'lein deps'
|
sh 'lein deps'
|
||||||
@ -58,8 +57,6 @@ node ('macos1'){
|
|||||||
|
|
||||||
stage('Build (iOS)') {
|
stage('Build (iOS)') {
|
||||||
withCredentials([string(credentialsId: 'jenkins_pass', variable: 'password')]) {
|
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()
|
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 CFBundleShortVersionString -string ' + latest_tag + ' ios/StatusIm/Info.plist')
|
||||||
sh ('plutil -replace CFBundleVersion -string ' + build_no + ' ios/StatusIm/Info.plist')
|
sh ('plutil -replace CFBundleVersion -string ' + build_no + ' ios/StatusIm/Info.plist')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user