diff --git a/jobs/HRB_Mobile_SIT_ipa/config.xml b/jobs/HRB_Mobile_SIT_ipa/config.xml index 8970010d32be8339276a20d1f462f64d4204f913..02abcf9a90f7d680f781500b9c0cd72c694342fe 100644 --- a/jobs/HRB_Mobile_SIT_ipa/config.xml +++ b/jobs/HRB_Mobile_SIT_ipa/config.xml @@ -18,7 +18,7 @@ - GIT_Branch + GIT_BRANCH develop feature/I18N release/1.43 @@ -27,7 +27,7 @@ hotfix/1.43.1 false - API_Server + API_SERVER 10.32.86.132 false @@ -45,7 +45,7 @@ hotfix/1.43.1 - */${GIT_Branch} + */${GIT_BRANCH} false @@ -70,7 +70,7 @@ MODIFIED_DATE=$(git log -1 --format="%ci" --) npm install --update-binary -sed -i '' "/url/s/http.*\//http:\/\/${API_Server}\//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:\/\/10.32.86.132\/\';/" src/configs/index.js @@ -83,7 +83,7 @@ node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest bundle exec fastlane ios beta - VERSION=SIT_${BRANCH_NAME##*/}_$(date +%Y%m%d)_$(git rev-parse --short HEAD) + VERSION=SIT_${GIT_BRANCH##*/}_$(date +%Y%m%d)_$(git rev-parse --short HEAD) MODIFIED_DATE=$(git log -1 --format="%ci" --) NAME=HRB_Mobile