Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
banma_credit
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hik_rn
project
banma_credit
Commits
7ef4a5e2
Commit
7ef4a5e2
authored
Oct 10, 2020
by
CaryaLiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update ios_prebuild.sh
parent
f9022871
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
ios_prebuild.sh
+14
-13
No files found.
ios_prebuild.sh
View file @
7ef4a5e2
#!/bin/bash
#!/bin/bash
git submodule update
--init
--recursive
#
git submodule update --init --recursive
git checkout
${
branch_name
#*/
}
--recurse-submodules
#
git checkout ${branch_name#*/} --recurse-submodules
git pull
#
git pull
git submodule foreach
--recursive
'branch="$(git config -f $toplevel/.gitmodules submodule.$name.branch)"; [ "$branch" = "" ] && git checkout master || git checkout $branch'
#
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
#
git submodule update --remote --merge
npm install
#
npm install
npm run bundle-ios
#
npm run bundle-ios
git submodule foreach
--recursive
'[ -n "$(git status -s)" ] && git add * && git commit -am "update reactnative static file" || :'
#
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"
#
[ -n "$(git status -s)" ] && git commit -am "update directory"
#git push --recurse-submodules=on-demand
#
#
git push --recurse-submodules=on-demand
git submodule foreach
'git push'
&&
git push
#
git submodule foreach 'git push' && git push
source
./enterios.sh
#
source ./enterios.sh
# release_choise: upload=> 代表只上传ipa包,不提交审核;upload_submit=> 代表上传ipa且提交审核
# release_choise: upload=> 代表只上传ipa包,不提交审核;upload_submit=> 代表上传ipa且提交审核
# bundle exec fastlane package build_configuration:$Configuration pgyer_desc:$pgyer_desc release_choise:$release_choise
# bundle exec fastlane package build_configuration:$Configuration pgyer_desc:$pgyer_desc release_choise:$release_choise
# bundle exec fastlane package build_configuration:Debug pgyer_desc:ReactNative打包测试
# bundle exec fastlane package build_configuration:Debug pgyer_desc:ReactNative打包测试
git submodule foreach
--recursive
'name="$(git config -f $toplevel/.gitmodules submodule.$name)"; [ "$name" = "ios" ] && bundle exec fastlane submodule_push'
git submodule foreach
--recursive
'name="$(git config -f $toplevel/.gitmodules submodule.$name.path)"; [ "$name" = "ios" ] && echo "$name" && bundle exec fastlane submodule_push || :'
# git submodule foreach --recursive 'name="$(git config -f $toplevel/.gitmodules submodule.$name.path)"; echo "$name"'
# bundle exec fastlane submodule_push
# bundle exec fastlane submodule_push
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment