pindo 5.0.8 → 5.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/pindo/command/ios/autobuild.rb +9 -1
- data/lib/pindo/command/ios/debug.rb +1 -1
- data/lib/pindo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08d012f8edb60e226490c213a446837bc36c852d531d5ac5de0a57b3ff5e525c'
|
4
|
+
data.tar.gz: 4d32c862affc436c18d9ff6cacdf00e332a868ca9fc07208d0c2ba29b1516ff1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8afdcda6e2f03492f285e44d140259b9c609470a5911eb8008c23788658bf076ee2eec5210afedf2b2e03faf717f3820132ccb883cc7d0b32b94ae9e0971f31c
|
7
|
+
data.tar.gz: 51a451ef991d341d6f4621cdd391ec9b4fd7267c1fa0bba045f35375252fccf8a6feb29474fa8fb49776762a5138026a8251ff3e6885e95bf67c839976ef013e
|
@@ -11,6 +11,7 @@ module Pindo
|
|
11
11
|
class Autobuild < Ios
|
12
12
|
|
13
13
|
include Appselect
|
14
|
+
include Pindo::Githelper
|
14
15
|
# 命令的简要说明 - 打包iOS工程并发布到蒲公英
|
15
16
|
self.summary = '打包iOS工程并发布到蒲公英'
|
16
17
|
|
@@ -150,7 +151,14 @@ module Pindo
|
|
150
151
|
if !app_info_obj.nil? && !app_info_obj["appName"].nil? && !app_info_obj["appName"].empty?
|
151
152
|
scheme_name = app_info_obj["appName"]
|
152
153
|
end
|
153
|
-
|
154
|
+
if scheme_name.nil? || scheme_name.empty? && is_git_directory?(local_repo_dir:pindo_project_dir)
|
155
|
+
current_git_root_path = git_root_directory(local_repo_dir: pindo_project_dir)
|
156
|
+
git_repo_name = File.basename(current_git_root_path)
|
157
|
+
if !git_repo_name.nil? && !git_repo_name.empty?
|
158
|
+
scheme_name = git_repo_name
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
154
162
|
Pindo::Command::Ios::Debug::modify_cert_with_project(project_dir:pindo_project_dir, config_file:config_json_file, scheme_name:scheme_name)
|
155
163
|
|
156
164
|
if File.exist?(File.join(pindo_project_dir, "Podfile"))
|
data/lib/pindo/version.rb
CHANGED