diff --git a/jobs/ICare_Prod_ipa/config.xml b/jobs/ICare_Prod_ipa/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..ea683ebee9ecc1200f55633ed2637a42f8c930cd --- /dev/null +++ b/jobs/ICare_Prod_ipa/config.xml @@ -0,0 +1,85 @@ + + + + 只打包 ipa + false + + + ylhealth + + + + 2 + 5 + -1 + -1 + + + + + 2 + + + https://cm.ylhealth.org/gitlab/healthconn/ICareMobile.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + */master + + + false + + + + Mac_Node + false + false + false + false + + false + + + PATH="$PATH:/usr/local/bin:/Users/scott/.fastlane/bin/" +VERSION=SIT_$(date +%Y%m%d)_$(git rev-parse --short HEAD)_$BUILD_NUMBER +MODIFIED_DATE=$(git log -1 --format="%ci" --) + +npm install --update-binary + +sed -i "" '/url/s/http.*\//https:\/\/api.goodhealthkeeper.com\/CareServer\//g' src/configs/index.js +sed -i '' "/version/s/\'.*\';/\'${VERSION}\';/" src/configs/index.js +sed -i '' "/modifiedTime/s/\'.*\';/\'${MODIFIED_DATE}\';/" src/configs/index.js + +security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP." -t private + +fastlane ios prod + + + VERSION=Prod_$(date +%Y%m%d)_$(git rev-parse --short HEAD) +MODIFIED_DATE=$(git log -1 --format="%ci" --) +NAME=ICareMobile + +mv $NAME.ipa ~/Sites/${NAME}_${VERSION}.ipa +scp ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/icare/ + + + + + $RD_Group $QA_Group + false + true + + + + + false + + + + + xterm + + + \ No newline at end of file