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
35e1149b
Commit
35e1149b
authored
Apr 25, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// fastlane
parent
29238e9b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
100 additions
and
25 deletions
+100
-25
Gemfile
galaxy/Gemfile
+2
-1
Gemfile.lock
galaxy/Gemfile.lock
+75
-5
Fastfile
galaxy/fastlane/Fastfile
+23
-19
No files found.
galaxy/Gemfile
View file @
35e1149b
source
"https://rubygems.org"
gem
"fastlane"
gem
"bundle"
gem
"cocoapods"
plugins_path
=
File
.
join
(
File
.
dirname
(
__FILE__
),
'fastlane'
,
'Pluginfile'
)
eval_gemfile
(
plugins_path
)
if
File
.
exist?
(
plugins_path
)
galaxy/Gemfile.lock
View file @
35e1149b
...
...
@@ -5,12 +5,25 @@ GEM
base64
nkf
rexml
activesupport (7.1.3.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
artifactory (3.0.17)
atomos (0.1.3)
aws-eventstream (1.3.0)
aws-partitions (1.91
8
.0)
aws-partitions (1.91
9
.0)
aws-sdk-core (3.192.1)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
...
...
@@ -27,19 +40,61 @@ GEM
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
base64 (0.2.0)
bundle (0.0.1)
bundler
bigdecimal (3.1.7)
claide (1.1.0)
cocoapods (1.15.2)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.15.2)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 2.1, < 3.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.6.0, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0)
colored2 (~> 3.1)
escape (~> 0.0.4)
fourflusher (>= 2.3.0, < 3.0)
gh_inspector (~> 1.0)
molinillo (~> 0.8.0)
nap (~> 1.0)
ruby-macho (>= 2.3.0, < 3.0)
xcodeproj (>= 1.23.0, < 2.0)
cocoapods-core (1.15.2)
activesupport (>= 5.0, < 8)
addressable (~> 2.8)
algoliasearch (~> 1.0)
concurrent-ruby (~> 1.1)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
netrc (~> 0.11)
public_suffix (~> 4.0)
typhoeus (~> 1.0)
cocoapods-deintegrate (1.0.5)
cocoapods-downloader (2.1)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (1.0.1)
cocoapods-trunk (1.6.0)
nap (>= 0.8, < 2.0)
netrc (~> 0.11)
cocoapods-try (1.2.0)
colored (1.2)
colored2 (3.1.2)
commander (4.6.0)
highline (~> 2.0.0)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
declarative (0.0.20)
digest-crc (0.6.5)
rake (>= 12.0.0, < 14.0.0)
domain_name (0.6.20240107)
dotenv (2.8.1)
drb (2.2.1)
emoji_regex (3.2.3)
escape (0.0.4)
ethon (0.16.0)
ffi (>= 1.15.0)
excon (0.110.0)
faraday (1.10.3)
faraday-em_http (~> 1.0)
...
...
@@ -112,6 +167,9 @@ GEM
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
fastlane-plugin-pgyer (0.2.8)
ffi (1.16.3)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
google-apis-androidpublisher_v3 (0.54.0)
google-apis-core (>= 0.11.0, < 2.a)
...
...
@@ -153,21 +211,28 @@ GEM
http-cookie (1.0.5)
domain_name (~> 0.5)
httpclient (2.8.3)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
jmespath (1.6.2)
json (2.7.2)
jwt (2.8.1)
base64
mini_magick (4.12.0)
mini_mime (1.1.5)
minitest (5.22.3)
molinillo (0.8.0)
multi_json (1.15.0)
multipart-post (2.4.0)
mutex_m (0.2.0)
nanaimo (0.3.0)
nap (1.1.0)
naturally (2.2.1)
netrc (0.11.0)
nkf (0.2.0)
optparse (0.5.0)
os (1.1.4)
plist (3.7.1)
public_suffix (
5.0.5
)
public_suffix (
4.0.7
)
rake (13.2.1)
representable (3.2.0)
declarative (< 0.1.0)
...
...
@@ -176,6 +241,7 @@ GEM
retriable (3.1.2)
rexml (3.2.6)
rouge (2.0.7)
ruby-macho (2.5.1)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
security (0.1.5)
...
...
@@ -195,6 +261,10 @@ GEM
tty-screen (0.8.2)
tty-spinner (0.9.3)
tty-cursor (~> 0.7)
typhoeus (1.4.1)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uber (0.1.0)
unicode-display_width (2.5.0)
word_wrap (1.0.0)
...
...
@@ -215,7 +285,7 @@ PLATFORMS
x86_64-darwin-23
DEPENDENCIES
bundle
cocoapods
fastlane
fastlane-plugin-pgyer
...
...
galaxy/fastlane/Fastfile
View file @
35e1149b
...
...
@@ -3,18 +3,27 @@ default_platform(:ios)
platform :ios do
desc "Description of what the lane does"
# 打包时候用的名称 例如 fastlane app
bundle_id = "com.intelligence.galaxy"
adhoc_profile_name = "com.adhoc.profile"
release_profile_name = "dis.intelligence.com"
adhoc_pgyer_api_key = "ba79f62a052072f2486ad29632fefd46"
release_pgyer_api_key = "ac973522a8c357596c3dd58d311d10d8"
# 打adhoc包 执行命令 fastlane galaxyTest
before_all do
# 拉取最新代码
develop_branch = "develop"
sh "git checkout #{develop_branch}"
sh "git pull origin #{develop_branch}"
cocoapods(use_bundle_exec: false)
end
# 打adhoc包 执行命令 fastlane galaxyTest
lane :galaxyTest do
# add actions here: https://docs.fastlane.tools/actions
# 拉取最新代码
develop_branch = "develop"
sh "git checkout #{develop_branch}"
sh "git pull origin #{develop_branch}"
# sh "pod install --no-repo-update"
gym(
workspace: 'galaxy.xcworkspace',
# 每次打包之前clean一下
...
...
@@ -40,7 +49,7 @@ platform :ios do
export_options: {
signingStyle: "manual",
provisioningProfiles: {
"
com.intelligence.galaxy" => "com.adhoc.profile
",
"
#{bundle_id}" => "#{adhoc_profile_name}
",
}
}
)
...
...
@@ -49,10 +58,10 @@ platform :ios do
# mac上的通知弹窗,通知打包完毕
notification(app_icon: "./fastlane/icon.png", title: "manager", subtitle: "打包成功,已导出安装包", message: "准备发布到蒲公英中……")
#配置上传蒲公英账号 蒲公英的 api_key
和 user_key 用自己蒲公英账号的,别用我的!!!如果没有可删除
#配置上传蒲公英账号 蒲公英的 api_key
pgyer(
# 蒲公英 API Key
api_key: "
ba79f62a052072f2486ad29632fefd46
"
api_key: "
#{adhoc_pgyer_api_key}
"
)
end
...
...
@@ -62,12 +71,7 @@ platform :ios do
lane :galaxyRelease do
# add actions here: https://docs.fastlane.tools/actions
# 拉取最新代码
develop_branch = "develop"
sh "git checkout #{develop_branch}"
sh "git pull origin #{develop_branch}"
# sh "pod install --no-repo-update"
gym(
workspace: 'galaxy.xcworkspace',
# 每次打包之前clean一下
...
...
@@ -81,7 +85,7 @@ platform :ios do
# 默认 Release,Release or Debug
configuration: 'Release',
# 是否包含 bitcode
include_bitcode:
fals
e,
include_bitcode:
tru
e,
# 是否包含 symbols
include_symbols: true,
# 打包导出方式,包含 app-store, validation, ad-hoc, package, enterprise, development, developer-id and mac-application
...
...
@@ -93,7 +97,7 @@ platform :ios do
export_options: {
signingStyle: "manual",
provisioningProfiles: {
"com.intelligence.galaxy" => "dis.intelligence.com
",
"#{bundle_id}" => "#{release_profile_name}
",
}
}
)
...
...
@@ -105,7 +109,7 @@ platform :ios do
#配置上传蒲公英账号 蒲公英的 api_key和 user_key 用自己蒲公英账号的,别用我的!!!如果没有可删除
pgyer(
# 蒲公英 API Key
api_key: "
ac973522a8c357596c3dd58d311d10d8
"
api_key: "
#{release_pgyer_api_key}
"
)
end
end
\ No newline at end of file
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