Commit 4bd4b4ea by CaryaLiu

feat: ios_prebuild.sh

parent 6647836f
ios @ 2e6312e2
Subproject commit c453457e47c0407d1ab8f1f976258d304d0850d3
Subproject commit 2e6312e25f8a4cd23607025bdc510ca8faed38d1
#!/bin/bash
git submodule update --init --recursive
git checkout ${branch_name#*/} --recurse-submodules
git pull
git submodule foreach --recursive 'branch="$(git config -f $toplevel/.gitmodules submodule.$name.branch)"; [ "$branch" = "" ] && git checkout master || git checkout $branch'
git submodule update --remote --merge
npm install
npm run bundle-ios
git push --recurse-submodules=on-demand
git submodule foreach --recursive '[ -n "$(git status -s)" ] && git add * && git commit -am "update reactnative static file" || :'
[ -n "$(git status -s)" ] && git commit -am "update directory"
#git push --recurse-submodules=on-demand
git submodule foreach 'git push' && git push
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment