fastlane-plugin-gs_project_flow_ios 0.1.23 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/gs_project_flow_ios/actions/gs_before_all_action.rb +0 -8
- data/lib/fastlane/plugin/gs_project_flow_ios/actions/gs_execute_beta_lane.rb +15 -15
- data/lib/fastlane/plugin/gs_project_flow_ios/helper/gs_project_flow_ios_helper.rb +6 -3
- data/lib/fastlane/plugin/gs_project_flow_ios/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d46434341aa5346ce20e6ba9c3ea5c2ce9d106ba
|
4
|
+
data.tar.gz: 29983ba79e793e114b176e8fb004a58a0fcf0798
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
6
|
-
|
7
|
-
#
|
8
|
-
#
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
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.
|
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
|
-
|
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
|