fastlane-plugin-gs_project_flow_ios 0.4.4 → 0.4.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: 03d65c3b89d3e70cbd12055235259bfbc6289d86
4
- data.tar.gz: 5424fb4ab31bc25806f0c81459409c3885df7ffd
3
+ metadata.gz: c2eec3df47f396851dd3e6abaec83d1d8234415b
4
+ data.tar.gz: 5df7983a17561e2733d20553269c0a473c048b84
5
5
  SHA512:
6
- metadata.gz: 8648ca29573533b7bdb730a5d86a4190e181cffce21210d369f177d911cadcd659b8ad88ce97324d70974c59c0b5da64f87f786b77b9a7a9205f6c6dc858e718
7
- data.tar.gz: cbac02d3a85d4c236b455dadc84806f41bf8f3f996a722346f93ab9e352608e6175b7671689c93b9cbfaa6c262a6b7bae3bbd446f5563307aca29b6e75d1c83f
6
+ metadata.gz: b1a3cc7be1f41ad600cfbf311d9e59c5b4b3b479351062f2b3c2b1725c2d2c6e4f59f83227c7193077c5fca653d76a9e169f23540a8ef318f0fec8c826caf7b1
7
+ data.tar.gz: 7b768d2a293adcc017e66773b41bd5891545b26ee38abf1022004f827494f3efda3ecb4cca804367b453519268006f13e18ecd0d6ceac30ee19c31c13f5b0513
@@ -2,9 +2,11 @@ module Fastlane
2
2
  module Actions
3
3
  class GsErrorAction < Action
4
4
  def self.run(params)
5
+ UI.important('Im in plugin error')
5
6
  version_name, v = Helper::GsProjectFlowIosHelper.version_for_lane(params[:lane])
6
7
  # ENV["PROJECT_NAME"] - переменка окружения, используемая в iOS, как читаемое название проекта + ключ в json файлике версий
7
8
  message = ENV["PROJECT_NAME"] + " " + version_name + " build has failed. Reason:\n <code>" + params[:exception].message + "</code>"
9
+ UI.important(message)
8
10
  Helper::GsProjectFlowIosHelper.send_report(message,Helper::GsProjectFlowIosHelper::BuildState::FAILURE, params[:lane])
9
11
  end
10
12
 
@@ -85,7 +85,7 @@ module Fastlane
85
85
  FAILURE = "failed"
86
86
  end
87
87
  def self.send_report(message, buildState, lane)
88
- Dir.chdir Dir.pwd+"/../../../../" do
88
+ # Dir.chdir Dir.pwd+"/../../../../" do
89
89
  UI.message(Dir.pwd)
90
90
  params = Hash.new
91
91
  params["state"] = buildState
@@ -110,7 +110,7 @@ module Fastlane
110
110
  Actions::ShAction.run(FastlaneCore::Configuration.create(Actions::ShAction.available_options,
111
111
  {command:"curl -X POST -H \"Content-Type: application/json\" -d '#{paramsJSON}' http://mobile.geo4.io/bot/releaseBuilder/jobStates"}))
112
112
  # sh "sh build_reporter.sh " + chat_id.to_s + " " + message
113
- end
113
+ # end
114
114
  end
115
115
 
116
116
  def self.show_message
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GsProjectFlowIos
3
- VERSION = "0.4.4"
3
+ VERSION = "0.4.6"
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.4
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Сергей Веселовский