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
cabe6b08
Commit
cabe6b08
authored
Oct 12, 2020
by
CaryaLiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update Fastfile
parent
8c34eb92
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
13 deletions
+17
-13
ios
+1
-1
ios_prebuild.sh
+16
-12
No files found.
ios
@
3fce927f
Subproject commit 3
bd31d8adc35065b6cd12f7551dd80899ed075b
4
Subproject commit 3
fce927f62e5f55ddccf7ca4c1c17ba51321d86
4
ios_prebuild.sh
View file @
cabe6b08
#!/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 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
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 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
# source ./enterios.sh
# 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:Debug pgyer_desc:ReactNative打包测试
git submodule foreach
--recursive
'name="$(git config -f $toplevel/.gitmodules submodule.$name.path)"; branch="$(git config -f $toplevel/.gitmodules submodule.$name.branch)"; [ "$name" = "ios" ] && echo "$name" && fastlane submodule_push ios_branch:$branch || :'
git submodule foreach
--recursive
'name="$(git config -f $toplevel/.gitmodules submodule.$name.path)"; \
branch="$(git config -f $toplevel/.gitmodules submodule.$name.branch)"; \
[ "$name" = "ios" ] && \
bundle exec fastlane package build_configuration:$Configuration pgyer_desc:$pgyer_desc release_choise:$release_choise branch:$branch || :'
# git submodule foreach --recursive 'name="$(git config -f $toplevel/.gitmodules submodule.$name.path)"; echo "$name"'
# 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