diff --git a/jobs/ICare_SIT_ipa/config.xml b/jobs/ICare_SIT_ipa/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..f42f3e0adaaea1a05e6607bc735064232af4aacc --- /dev/null +++ b/jobs/ICare_SIT_ipa/config.xml @@ -0,0 +1,85 @@ + + + + 只打包 ipa + false + + + ylhealth + + + + 2 + 6 + -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) +MODIFIED_DATE=$(git log -1 --format="%ci" --) + +npm install --update-binary + +sed -i "" '/url/s/http.*\//http:\/\/210.203.21.31:8080\/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 beta + + + VERSION=SIT_$(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