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
8a089ba1
Commit
8a089ba1
authored
Apr 25, 2024
by
Steven杜宇
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// fastlane
parent
68c13848
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
Fastfile
galaxy/fastlane/Fastfile
+15
-10
No files found.
galaxy/fastlane/Fastfile
View file @
8a089ba1
...
@@ -11,10 +11,14 @@ platform :ios do
...
@@ -11,10 +11,14 @@ 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"
# 切换到develop分支
main_branch = "main"
develop_branch = "develop"
sh "git checkout #{develop_branch}"
# 打adhoc包 执行命令 fastlane galaxyTest
lane :galaxyTest do
# add actions here: https://docs.fastlane.tools/actions
sh "git checkout #{develop_branch}"
# 拉取最新代码
# 拉取最新代码
sh "git pull origin #{develop_branch}"
sh "git pull origin #{develop_branch}"
# 显示git当前分支最新submit id
# 显示git当前分支最新submit id
...
@@ -22,12 +26,6 @@ platform :ios do
...
@@ -22,12 +26,6 @@ platform :ios do
# 更新pod第三方库
# 更新pod第三方库
cocoapods(use_bundle_exec: true)
cocoapods(use_bundle_exec: true)
end
# 打adhoc包 执行命令 fastlane galaxyTest
lane :galaxyTest do
# add actions here: https://docs.fastlane.tools/actions
gym(
gym(
workspace: 'galaxy.xcworkspace',
workspace: 'galaxy.xcworkspace',
# 每次打包之前clean一下
# 每次打包之前clean一下
...
@@ -75,6 +73,13 @@ platform :ios do
...
@@ -75,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',
...
...
pete谢兆麟
@pete
mentioned in commit
a09cc198
·
Apr 25, 2024
mentioned in commit
a09cc198
mentioned in commit a09cc198d3867abf8a866ce7cfc8db61719970a6
Toggle commit list
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