fix renaming iOS release builds

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-01-09 16:17:45 +01:00
parent df7590f48b
commit 0c3bfc14f9
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,10 @@ def bundle(type) {
}
/* rename built file for uploads and archivization */
def pkg = ''
if (type == 'e2e') {
if (type == 'release') {
pkg = cmn.pkgFilename('release', 'ipa')
sh "cp status_appstore/StatusIm.ipa ${pkg}"
} else if (type == 'e2e') {
pkg = cmn.pkgFilename('e2e', 'app.zip')
sh "cp status-e2e/StatusIm.app.zip ${pkg}"
} else if (type != 'testflight') {