diff --git a/jobs/HRB_Mobile_DEMO_ipa/config.xml b/jobs/HRB_Mobile_DEMO_ipa/config.xml deleted file mode 100644 index c36dbf0b410b0e523532a02581259909df86891f..0000000000000000000000000000000000000000 --- a/jobs/HRB_Mobile_DEMO_ipa/config.xml +++ /dev/null @@ -1,103 +0,0 @@ - - - - 只打包 ipa, 不做Code Push - false - - - ylhealth - - - - - GIT_BRANCH - 正式環境的 branch, 如: -master -release/1.15GA -hotfix/1.15.1GA - demo - false - - - - - - 2 - 5 - -1 - -1 - - - - - 2 - - - https://cm.ylhealth.org/gitlab/ym/HRB_Mobile.git - 3485e854-8389-40e8-8c86-b94e94e91904 - - - - - */${GIT_BRANCH} - - - false - - - - MAC_BUILD_Machine - false - false - false - false - - false - - - PATH="$PATH:/usr/local/bin:/Users/scott/.fastlane/bin/" -VERSION=DEMO_$(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.*\//https:\/\/eva.uhealthbank.com\//g' src/configs/index.js -sed -i '' "/version/s/\'.*\';/\'${VERSION}\';/" src/configs/index.js -sed -i '' "/modifiedTime/s/\'.*\';/\'${MODIFIED_DATE}\';/" src/configs/index.js - -# 不刪本機資料 -# sed -i "" 's/accountUid !== res.accountUID/false/g' src/services/authService.js - -security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP." -t private - -node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest ./ios --entry-file index.worker.js --platform ios --bundle-output ./ios/worker.jsbundle --sourcemap-output ./ios/ios.worker.map - -sed -i '' "s/BackgroundTimer.runBackgroundTimer/\/\/BackgroundTimer.runBackgroundTimer/g" src/lifeRecord/recordService.ios.js - -bundle exec fastlane ios beta - - - VERSION=DEMO_$(date +%Y%m%d)_$(git rev-parse --short HEAD) -MODIFIED_DATE=$(git log -1 --format="%ci" --) -NAME=HRB_Mobile - -mv $NAME.ipa ~/Sites/${NAME}_${VERSION}.ipa -scp ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/hrb/ - - - - - $RD_Group $QA_Group - false - true - - - - - false - - - false - - - \ No newline at end of file