diff --git a/jobs/HRB_Mobile_Other_ipa/config.xml b/jobs/HRB_Mobile_Other_ipa/config.xml index 5dad528d2d5761537497db4f421527845693be4d..2d36c7f5f628a06a9aac1b235a286a9aa7ebce8a 100644 --- a/jobs/HRB_Mobile_Other_ipa/config.xml +++ b/jobs/HRB_Mobile_Other_ipa/config.xml @@ -39,6 +39,12 @@ commitId test false + + API_SERVER + 連線位置 + 10.32.86.124 + false + @@ -74,14 +80,17 @@ MODIFIED_DATE=$(git log -1 --format="%ci" --) npm install --update-binary -sed -i "" '/url/s/http.*\//http:\/\/10.32.86.124\//g' src/configs/index.js +sed -i '' "/url/s/http.*\//http:\/\/${API_SERVER}\//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 '' "/allergyUrl/s/\__DEV__.*\';/\'http:\/\/${API_SERVER}\/\';/" src/configs/index.js sed -i '' 's/appVersion.*/appVersion": "1.27"/' appConfig.json -security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP." -t private +#security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP." -t private + +##npm run bundle-worker-ios -npm run bundle-worker-ios +npm run build-thread-ios echo "source 'https://rubygems.org'" > Gemfile echo "gem 'cocoapods', '1.4.0'" >> Gemfile