fastlane-plugin-gs_project_flow_ios 0.4.16 → 0.4.17

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: 79e8d2aa81ba2f9785c34776f856d0febb03f6dc
4
- data.tar.gz: 9aa7c1390f210518430bab1a52ea6c5e41d26704
3
+ metadata.gz: 9345a779d2feceb41ae6da6b7970df695f5eb5bc
4
+ data.tar.gz: c933ea836c1cddcbc33a6a002de4f0e9862f6e06
5
5
  SHA512:
6
- metadata.gz: 859dc69ef8923e9f1625a09e94dd30430aac03524f0f8b12117c34485480381af3c8bf26e965c54d7e851cfcf68f17ec9460af4131388f0eeed856662e7f2755
7
- data.tar.gz: bceba8b6dfecbb7302907293b2037c4244180176eee1ffa8cee736aa2ad0b990f6688977cf412101bd54e04163e734e16ed9b4c6c12bff13a46440b6a72a5af7
6
+ metadata.gz: d8b3102cc769b2c98fff215e18528fb49bb6f342823de0da222cb78ca9787f91778b543626857e0378e3e3b203c80f5f254e6bba2190bab8cd78adb59420e6b0
7
+ data.tar.gz: c4a24d51f514832f4d93ed2f5028756813a3c59b94516dff9748db9a448816f81b26bf59e9a2f2669a0a1bafba54669db94f00f38d0aeaa9cab27de21ec7ccee
@@ -2,12 +2,17 @@ module Fastlane
2
2
  module Actions
3
3
  class GsErrorAction < Action
4
4
  def self.run(params)
5
- UI.important('Im in plugin error')
6
- version_name, v = Helper::GsProjectFlowIosHelper.version_for_lane(params[:lane], Helper::GsProjectFlowIosHelper::BuildState::FAILURE)
7
- # ENV["PROJECT_NAME"] - переменка окружения, используемая в iOS, как читаемое название проекта + ключ в json файлике версий
8
- message = ENV["PROJECT_NAME"] + " " + version_name + " build has failed. Reason:\n " + params[:exception].message
9
- UI.important(message)
10
- Helper::GsProjectFlowIosHelper.send_report(message,Helper::GsProjectFlowIosHelper::BuildState::FAILURE, params[:lane])
5
+ begin
6
+ version_name, v = Helper::GsProjectFlowIosHelper.version_for_lane(params[:lane], Helper::GsProjectFlowIosHelper::BuildState::FAILURE)
7
+ # ENV["PROJECT_NAME"] - переменка окружения, используемая в iOS, как читаемое название проекта + ключ в json файлике версий
8
+ message = ENV["PROJECT_NAME"] + " " + version_name + " build has failed. Reason:\n " + params[:exception].message
9
+
10
+ UI.important(message)
11
+ Helper::GsProjectFlowIosHelper.send_report(message,Helper::GsProjectFlowIosHelper::BuildState::FAILURE, params[:lane])
12
+ rescue => ex
13
+ message = "Build has failed on error lane. Reason main lane failed:\n " + params[:exception].message + " \n Reason error lane failed:\n" + ex.message
14
+ Helper::GsProjectFlowIosHelper.send_report(message,Helper::GsProjectFlowIosHelper::BuildState::FAILURE, params[:lane])
15
+ end
11
16
  end
12
17
 
13
18
  def self.description
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GsProjectFlowIos
3
- VERSION = "0.4.16"
3
+ VERSION = "0.4.17"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-gs_project_flow_ios
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.16
4
+ version: 0.4.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Сергей Веселовский