Commit 07de9d22 authored by Steven杜宇's avatar Steven杜宇

// 上传bugly 添加build号

parent c4d57a39
...@@ -4,8 +4,14 @@ platform :ios do ...@@ -4,8 +4,14 @@ platform :ios do
desc "Description of what the lane does" desc "Description of what the lane does"
# 打包时候用的名称 例如 fastlane app # 打包时候用的名称 例如 fastlane app
adhoc_version = get_version_number_from_xcodeproj(scheme: "galaxyForTestArchive") adhoc_version = get_version_number_from_xcodeproj(scheme: "galaxyForTestArchive", xcodeproj: "./galaxy.xcodeproj")
release_version = get_version_number_from_xcodeproj(scheme: "galaxy") release_version = get_version_number_from_xcodeproj(scheme: "galaxy", xcodeproj: "./galaxy.xcodeproj")
adhoc_build_number = get_build_number_from_xcodeproj(scheme: "galaxyForTestArchive", xcodeproj: "./galaxy.xcodeproj")
release_build_number = get_build_number_from_xcodeproj(scheme: "galaxy", xcodeproj: "./galaxy.xcodeproj")
adhoc_version_key = "#{adhoc_version}.#{adhoc_build_number}"
release_version_key = "#{release_version}.#{release_build_number}"
bundle_id = "com.intelligence.galaxy" bundle_id = "com.intelligence.galaxy"
adhoc_profile_name = "com.adhoc.profile" adhoc_profile_name = "com.adhoc.profile"
...@@ -96,7 +102,7 @@ platform :ios do ...@@ -96,7 +102,7 @@ platform :ios do
appid: adhoc_bugly_app_id, appid: adhoc_bugly_app_id,
appkey: adhoc_bugly_app_key, appkey: adhoc_bugly_app_key,
bundleid: bundle_id, bundleid: bundle_id,
version: adhoc_version, version: adhoc_version_key,
inputSymbol: adhoc_symbol_path) inputSymbol: adhoc_symbol_path)
# mac上的通知弹窗,通知上传符号表完毕 # mac上的通知弹窗,通知上传符号表完毕
...@@ -163,7 +169,7 @@ platform :ios do ...@@ -163,7 +169,7 @@ platform :ios do
appid: release_bugly_app_id, appid: release_bugly_app_id,
appkey: release_bugly_app_key, appkey: release_bugly_app_key,
bundleid: bundle_id, bundleid: bundle_id,
version: release_version, version: release_version_key,
inputSymbol: release_symbol_path) inputSymbol: release_symbol_path)
# mac上的通知弹窗,通知上传符号表完毕 # mac上的通知弹窗,通知上传符号表完毕
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment