mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-28 01:16:50 +00:00
move pushing build tag to after deploy stages
This commit is contained in:
parent
6aa2edd2b5
commit
3c0fa7feb5
@ -70,10 +70,6 @@ node ('macos1'){
|
|||||||
sh 'xcodebuild -exportArchive -exportPath status -archivePath status.xcarchive -exportOptionsPlist ~/archive.plist'
|
sh 'xcodebuild -exportArchive -exportPath status -archivePath status.xcarchive -exportOptionsPlist ~/archive.plist'
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Push Build Tag') {
|
|
||||||
sh ('git push --tags')
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Deploy (Android)') {
|
stage('Deploy (Android)') {
|
||||||
def artifact_dir = pwd() + '/android/app/build/outputs/apk/release/'
|
def artifact_dir = pwd() + '/android/app/build/outputs/apk/release/'
|
||||||
println (artifact_dir + 'app-release.apk')
|
println (artifact_dir + 'app-release.apk')
|
||||||
@ -101,6 +97,10 @@ node ('macos1'){
|
|||||||
sh ('echo ARTIFACT iOS: ' + ipaUrl)
|
sh ('echo ARTIFACT iOS: ' + ipaUrl)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Push Build Tag') {
|
||||||
|
sh ('git push --tags')
|
||||||
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
slackSend color: 'bad', message: 'Release build failed to build. ' + env.BUILD_URL
|
slackSend color: 'bad', message: 'Release build failed to build. ' + env.BUILD_URL
|
||||||
throw e
|
throw e
|
||||||
|
@ -75,10 +75,6 @@ node ('macos1'){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Push build tag') {
|
|
||||||
sh ('git push --tags')
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Deploy (Android)') {
|
stage('Deploy (Android)') {
|
||||||
sh ('bundle exec fastlane android release || exit 0')
|
sh ('bundle exec fastlane android release || exit 0')
|
||||||
}
|
}
|
||||||
@ -86,6 +82,10 @@ node ('macos1'){
|
|||||||
stage('Deploy (iOS)') {
|
stage('Deploy (iOS)') {
|
||||||
sh ('bundle exec fastlane ios release || exit 0')
|
sh ('bundle exec fastlane ios release || exit 0')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Push build tag') {
|
||||||
|
sh ('git push --tags')
|
||||||
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
slackSend color: 'bad', message: 'Release build failed uploading to iTC/Play Market. ' + env.BUILD_URL
|
slackSend color: 'bad', message: 'Release build failed uploading to iTC/Play Market. ' + env.BUILD_URL
|
||||||
throw e
|
throw e
|
||||||
|
Loading…
x
Reference in New Issue
Block a user