fastlane-plugin-gs_project_flow_ios 0.1.23 → 0.2.1

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: 9889f50e64c3e977df70f4b565cbe9390c006894
4
- data.tar.gz: 5d54d10e0b871a521c6b70328fab192b1d5a23be
3
+ metadata.gz: d46434341aa5346ce20e6ba9c3ea5c2ce9d106ba
4
+ data.tar.gz: 29983ba79e793e114b176e8fb004a58a0fcf0798
5
5
  SHA512:
6
- metadata.gz: 43c34a007501f9d78efe27ef1de826c5880154b43bc76239e07c8a6257e32f70ae5379bacc7f507a336882c45415638d7a7d5d2f90c297119b2ec75a271e1f9a
7
- data.tar.gz: 23a63323ac028a88e36a60414fd863ddf4dff6b45ae7d665d458a1f66d4824043b9e372b54e73e9f9e748c2d14bbaddb5a99b80171529d6e5435932547ed0172
6
+ metadata.gz: 57ca47abd85854093d76b3e6f4fe5968c4b1cf77e548e709a35660186165a6d532e45b9ed91c6be03c762c2c56edf5196be24452589330ae093d822e20e1ee60
7
+ data.tar.gz: 9fb5c3a06ff50070206292805430b3869c696668bf73cc4a4f7e27cf6251837e5202b6168ca26e5c02a6fbec0eca3d8f3f239b33cec0b75082efcb5f6b0f07a1
@@ -16,18 +16,10 @@ module Fastlane
16
16
  UI.important("Use custom ITC screenshots.")
17
17
  end
18
18
 
19
- # cocoapods(use_bundle_exec: false)
20
- # CocoapodsAction.run(use_bundle_exec: false) #, clean: true, integrate: true, ansi: true)
21
19
  action = 'cocoapods'
22
20
  parameters = {:use_bundle_exec => false}
23
21
 
24
22
  Fastlane::Helper::GsProjectFlowIosHelper.new.execute_action(action,parameters)
25
-
26
- # class_ref = Actions.action_class_ref(action)
27
- # UI.message("class ref = " + Dir.pwd)
28
- # r = Runner.new
29
- #
30
- # r.execute_action(action, class_ref, [parameters], custom_dir: '.')
31
23
  end
32
24
 
33
25
  def self.description
@@ -2,21 +2,21 @@ module Fastlane
2
2
  module Actions
3
3
  class GsExecuteBetaLaneAction < Action
4
4
  def self.run(params)
5
- # require 'fastlane/plugin/gs_versioning'
6
- # require 'fastlane/plugin/versioning'
7
- # # match(type: "appstore") # more information: https://codesigning.guide
8
- # # Increment the build number (not the version number)
9
- # v = GsIncrementBetaVersionAction.run(path:ENV["path_to_versions"])
10
- # version_name = v.major.to_s + "." + v.minor.to_s + "." + v.build.to_s
11
- # IncrementBuildNumberInPlist.run(xcodeproj:ENV["xcodeproj"],
12
- # target:ENV["target"],
13
- # build_number: v.build.to_s
14
- # )
15
- # IncrementVersionNumberInPlist.run(
16
- # version_number: v.major.to_s + "." + v.minor.to_s + ".0",
17
- # xcodeproj: ENV["xcodeproj"],
18
- # target: ENV["target"]
19
- # )
5
+ require 'fastlane/plugin/gs_versioning'
6
+ require 'fastlane/plugin/versioning'
7
+ # match(type: "appstore") # more information: https://codesigning.guide
8
+ # Increment the build number (not the version number)
9
+ v = GsIncrementBetaVersionAction.run(path:Fastlane::Helper::GsProjectFlowIosHelper.get_versions_path)
10
+ version_name = v.major.to_s + "." + v.minor.to_s + "." + v.build.to_s
11
+ IncrementBuildNumberInPlist.run(xcodeproj:ENV["xcodeproj"],
12
+ target:ENV["target"],
13
+ build_number: v.build.to_s
14
+ )
15
+ IncrementVersionNumberInPlist.run(
16
+ version_number: v.major.to_s + "." + v.minor.to_s + ".0",
17
+ xcodeproj: ENV["xcodeproj"],
18
+ target: ENV["target"]
19
+ )
20
20
  #
21
21
  # generateReleaseNotes("fileBeta", ENV["ALIAS"], version_name, "Ru")
22
22
  # generateReleaseNotes("fileBeta", ENV["ALIAS"], version_name, "En")
@@ -4,13 +4,16 @@ module Fastlane
4
4
  # class methods that you define here become available in your action
5
5
  # as `Helper::GsProjectFlowIosHelper.your_method`
6
6
  #
7
- def self.get_verssions_path
7
+ def self.get_versions_path
8
8
  return Dir.pwd+"/../../../versions.json"
9
9
  end
10
10
 
11
11
  def execute_action(action, parameters, class_ref: nil, custom_dir: '.', from_action: false)
12
-
13
- local_class_ref = Actions.action_class_ref(action) if class_ref.nil? else local_class_ref = class_ref
12
+ if class_ref.nil?
13
+ local_class_ref = Actions.action_class_ref(action)
14
+ else
15
+ local_class_ref = class_ref
16
+ end
14
17
  r = Runner.new
15
18
  r.execute_action(action, local_class_ref, [parameters], custom_dir: custom_dir, from_action: from_action)
16
19
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GsProjectFlowIos
3
- VERSION = "0.1.23"
3
+ VERSION = "0.2.1"
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.1.23
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Сергей Веселовский