只做 Code Push,不打包 ipa
false
ylhealth
2
5
-1
-1
2
https://cm.ylhealth.org/gitlab/ym/HRB_Mobile.git
3485e854-8389-40e8-8c86-b94e94e91904
*/develop
false
MAC_BUILD_Machine
false
false
false
false
HRB_Mobile_SIT_ipa
SUCCESS
0
BLUE
true
5 8,13,17 * * *
false
false
PATH="$PATH:/usr/local/bin:/Users/scott/.fastlane/bin/"
security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP." -t private
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:\/\/10.32.86.132\//g' src/configs/index.js
sed -i '' "/version/s/\'.*\';/\'${VERSION}\';/" src/configs/index.js
sed -i '' "/modifiedTime/s/\'.*\';/\'${MODIFIED_DATE}\';/" src/configs/index.js
code-push release-react HRB_Mobile_ios ios -m -d Staging
false