fastlane-plugin-gs_project_flow_ios 0.3.5 → 0.3.6
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48cb2c7150237939a7b6a648f7b29d9996bd682f
|
|
4
|
+
data.tar.gz: 22c647f9e274ffd2aac2bca0c556cecb7f9b7e13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2409591d5224d3b0e9b9259845e1573f9529d5703f1e9b19e869310b72bdbeab02fcaf199c4f3e7e701678bf15e85becf49384ec16914e21809a6bf3ca030fd6
|
|
7
|
+
data.tar.gz: a0c4f8e68dca25faa2b192709000252736d39de8c40675306a7b9a57e72352f686946d288b7e1965ebafa3209c710cd98d7f220add294162328c8dc457edd695
|
|
@@ -3,9 +3,6 @@ module Fastlane
|
|
|
3
3
|
class GsAfterAllAction < Action
|
|
4
4
|
def self.run(params)
|
|
5
5
|
action = 'cocoapods'
|
|
6
|
-
parameters = {:use_bundle_exec => false}
|
|
7
|
-
|
|
8
|
-
Fastlane::Helper::GsProjectFlowIosHelper.new.execute_action(action,parameters)
|
|
9
6
|
|
|
10
7
|
|
|
11
8
|
version_name, v = Helper::GsProjectFlowIosHelper.version_for_lane(param[:lane])
|
|
@@ -2,9 +2,9 @@ module Fastlane
|
|
|
2
2
|
module Actions
|
|
3
3
|
class GsErrorAction < Action
|
|
4
4
|
def self.run(params)
|
|
5
|
-
version_name, v = Helper::GsProjectFlowIosHelper.version_for_lane(lane)
|
|
5
|
+
version_name, v = Helper::GsProjectFlowIosHelper.version_for_lane(params[:lane])
|
|
6
6
|
# ENV["PROJECT_NAME"] - переменка окружения, используемая в iOS, как читаемое название проекта + ключ в json файлике версий
|
|
7
|
-
message = ENV["PROJECT_NAME"] + " " + version_name + " build has failed. Reason:\n <code>" + exception.message + "</code>"
|
|
7
|
+
message = ENV["PROJECT_NAME"] + " " + version_name + " build has failed. Reason:\n <code>" + params[:exception].message + "</code>"
|
|
8
8
|
Helper::GsProjectFlowIosHelper.send_report(message,Helper::GsProjectFlowIosHelper::BuildState::FAILURE, params[:lane])
|
|
9
9
|
end
|
|
10
10
|
|
|
@@ -30,7 +30,11 @@ module Fastlane
|
|
|
30
30
|
FastlaneCore::ConfigItem.new(key: :lane,
|
|
31
31
|
description: "A description of your option",
|
|
32
32
|
optional: false,
|
|
33
|
-
type: Symbol)
|
|
33
|
+
type: Symbol),
|
|
34
|
+
FastlaneCore::ConfigItem.new(key: :exception,
|
|
35
|
+
description: "A description of your option",
|
|
36
|
+
optional: false,
|
|
37
|
+
is_string: false)
|
|
34
38
|
]
|
|
35
39
|
end
|
|
36
40
|
|