Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed fast lane issue crash issue when creating the keychain by expor…

…ting `MATCH_KEYCHAIN_NAME ` in the correct place
  • Loading branch information
mahmoud-adam85 committed Sep 10, 2018
1 parent ce37f27 commit bf19467f44575a7f431373fb0a832d6e0dcbf36c
Showing with 2 additions and 1 deletion.
  1. +2 −1 Jenkinsfile.publish
@@ -97,21 +97,22 @@ node('mac-vm-host') {
set -x
set -e
rm -rf /Users/vagrant/Library/Keychains/ios-build.keychain*
export MATCH_KEYCHAIN_NAME=ios-build.keychain
rm -rf ../build-tools
fastlane importLocalizations
'''
if("${branchName}".contains("-beta")){
sh '''#!/bin/bash -l
set -x
set -e
export MATCH_KEYCHAIN_NAME=ios-build.keychain
fastlane beta
'''
}
else if ("${branchName}".contains("-r")){
sh '''#!/bin/bash -l
set -x
set -e
export MATCH_KEYCHAIN_NAME=ios-build.keychain
fastlane release
'''
}

0 comments on commit bf19467

Please sign in to comment.