Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
a09cc198
Commit
a09cc198
authored
Apr 25, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
8a089ba1
' into xiezhaolin
parents
f023e900
8a089ba1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
8 deletions
+17
-8
Fastfile
galaxy/fastlane/Fastfile
+17
-8
No files found.
galaxy/fastlane/Fastfile
View file @
a09cc198
...
@@ -11,19 +11,21 @@ platform :ios do
...
@@ -11,19 +11,21 @@ platform :ios do
adhoc_pgyer_api_key = "ba79f62a052072f2486ad29632fefd46"
adhoc_pgyer_api_key = "ba79f62a052072f2486ad29632fefd46"
release_pgyer_api_key = "ac973522a8c357596c3dd58d311d10d8"
release_pgyer_api_key = "ac973522a8c357596c3dd58d311d10d8"
before_all do
develop_branch = "develop"
# 拉取最新代码
main_branch = "main"
develop_branch = "develop"
sh "git checkout #{develop_branch}"
sh "git pull origin #{develop_branch}"
cocoapods(use_bundle_exec: false)
end
# 打adhoc包 执行命令 fastlane galaxyTest
# 打adhoc包 执行命令 fastlane galaxyTest
lane :galaxyTest do
lane :galaxyTest do
# add actions here: https://docs.fastlane.tools/actions
# add actions here: https://docs.fastlane.tools/actions
sh "git checkout #{develop_branch}"
# 拉取最新代码
sh "git pull origin #{develop_branch}"
# 显示git当前分支最新submit id
sh "git rev-parse HEAD"
# 更新pod第三方库
cocoapods(use_bundle_exec: true)
gym(
gym(
workspace: 'galaxy.xcworkspace',
workspace: 'galaxy.xcworkspace',
# 每次打包之前clean一下
# 每次打包之前clean一下
...
@@ -71,6 +73,13 @@ platform :ios do
...
@@ -71,6 +73,13 @@ platform :ios do
lane :galaxyRelease do
lane :galaxyRelease do
# add actions here: https://docs.fastlane.tools/actions
# add actions here: https://docs.fastlane.tools/actions
sh "git checkout #{main_branch}"
# 拉取最新代码
sh "git pull origin #{main_branch}"
# 显示git当前分支最新submit id
sh "git rev-parse HEAD"
# 更新pod第三方库
cocoapods(use_bundle_exec: true)
gym(
gym(
workspace: 'galaxy.xcworkspace',
workspace: 'galaxy.xcworkspace',
...
...
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