mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-25 23:06:43 +00:00
fix ios diawi ipa
This commit is contained in:
parent
c9b9cf74b3
commit
7e4390ae2e
@ -65,7 +65,8 @@ node ('macos1'){
|
|||||||
sh ('plutil -replace CFBundleVersion -string ' + build_no + ' 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'
|
sh 'export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/StatusIm.xcworkspace -scheme StatusIm -configuration release -archivePath status clean archive'
|
||||||
sh ('security unlock-keychain -p ' + password + ' login.keychain')
|
sh ('security unlock-keychain -p ' + password + ' login.keychain')
|
||||||
sh 'xcodebuild -exportArchive -exportPath status -archivePath status.xcarchive -exportOptionsPlist ~/archive-release.plist'
|
sh 'xcodebuild -exportArchive -exportPath status_appstore -archivePath status.xcarchive -exportOptionsPlist ~/archive-release.plist'
|
||||||
|
sh 'xcodebuild -exportArchive -exportPath status -archivePath status.xcarchive -exportOptionsPlist ~/archive.plist'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -82,7 +83,8 @@ node ('macos1'){
|
|||||||
def buildInfo = server.upload(uploadSpec)
|
def buildInfo = server.upload(uploadSpec)
|
||||||
apkUrl = 'http://artifacts.status.im:8081/artifactory/nightlies-local/' + filename
|
apkUrl = 'http://artifacts.status.im:8081/artifactory/nightlies-local/' + filename
|
||||||
|
|
||||||
sh ('bundle exec fastlane android nightly')
|
//todo: handle version differently instead of exit 0
|
||||||
|
sh ('bundle exec fastlane android nightly || exit 0')
|
||||||
sh ('echo ARTIFACT Android: ' + apkUrl)
|
sh ('echo ARTIFACT Android: ' + apkUrl)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -93,7 +95,8 @@ node ('macos1'){
|
|||||||
def hash = sh(returnStdout: true, script: "curl -vvv 'https://upload.diawi.com/status?token="+token+"&job="+job+"'|jq -r '.hash'").trim()
|
def hash = sh(returnStdout: true, script: "curl -vvv 'https://upload.diawi.com/status?token="+token+"&job="+job+"'|jq -r '.hash'").trim()
|
||||||
ipaUrl = 'https://i.diawi.com/' + hash
|
ipaUrl = 'https://i.diawi.com/' + hash
|
||||||
|
|
||||||
sh ('bundle exec fastlane ios nightly')
|
//todo: handle version differently instead of exit 0
|
||||||
|
sh ('bundle exec fastlane ios nightly || exit 0')
|
||||||
sh ('echo ARTIFACT iOS: ' + ipaUrl)
|
sh ('echo ARTIFACT iOS: ' + ipaUrl)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ platform :ios do
|
|||||||
desc "Deploy a new internal build to iTunes Connect"
|
desc "Deploy a new internal build to iTunes Connect"
|
||||||
lane :nightly do
|
lane :nightly do
|
||||||
upload_to_testflight(
|
upload_to_testflight(
|
||||||
ipa: "status/StatusIm.ipa"
|
ipa: "status_appstore/StatusIm.ipa"
|
||||||
)
|
)
|
||||||
slack(message: "New nightly build uploaded to iTunes Connect")
|
slack(message: "New nightly build uploaded to iTunes Connect")
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user