fastlane-plugin-gs_project_flow_ios 0.4.23 → 0.4.24
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c09010a9783dafad453c4567bc0af40cf83c1dd
|
4
|
+
data.tar.gz: 2bcaef0009acfe14f8422655a94f837cf8eb7b3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0987e62d9b9902aa231151cbff3a964868b311880d19f469af49767cb909257552cdff333d0fb9d3ea3fc7415be05a49ec1a9aabcf3bb9fdb8921a801d6eb27
|
7
|
+
data.tar.gz: dfaa3b54493b36f95c6c16e976172d6c9f07cb502fee5f4c04a5ea25ad0c16d8d20d3546fbd2e698ccdeb3b961beaa90d456aa8041d6d2da7512794082a987b4
|
@@ -6,56 +6,58 @@ module Fastlane
|
|
6
6
|
require 'fastlane/plugin/versioning'
|
7
7
|
ENV['RC_DID_FAILED'] = 'true'
|
8
8
|
|
9
|
-
fastlaneHelper = Fastlane::Helper::GsProjectFlowIosHelper.new
|
10
|
-
arg = FastlaneCore::Configuration.create(GsIncrementRcVersionAction.available_options, {path:Helper::GsProjectFlowIosHelper.get_versions_path})
|
11
|
-
v = GsIncrementRcVersionAction.run(arg)
|
12
|
-
version_name = v.major.to_s + "." + v.minor.to_s + "." + v.build.to_s
|
13
|
-
UI.message('version' + version_name)
|
14
|
-
|
15
|
-
plist_path = Actions::GetInfoPlistPathAction.run(FastlaneCore::Configuration.create(GetInfoPlistPathAction.available_options,{xcodeproj:ENV["xcodeproj"],
|
16
|
-
|
17
|
-
Actions::SetInfoPlistValueAction.run(FastlaneCore::Configuration.create(SetInfoPlistValueAction.available_options,{path: plist_path, key: "ITSAppUsesNonExemptEncryption", value: "false"}))
|
18
|
-
|
19
|
-
Actions::IncrementBuildNumberInPlistAction.run(FastlaneCore::Configuration.create(Actions::IncrementBuildNumberInPlistAction.available_options,
|
20
|
-
|
21
|
-
|
22
|
-
Actions::IncrementVersionNumberInPlistAction.run(FastlaneCore::Configuration.create(Actions::IncrementVersionNumberInPlistAction.available_options,
|
23
|
-
|
24
|
-
|
25
|
-
ruText = fastlaneHelper.generateReleaseNotes("fileClosed", params[:alias], v.major.to_s + "." + v.minor.to_s, "Ru")
|
26
|
-
enText = fastlaneHelper.generateReleaseNotes("fileClosed", params[:alias], v.major.to_s + "." + v.minor.to_s, "En")
|
27
|
-
|
28
|
-
# ruText = FileHelper.read(Dir.pwd + "/../../../notes/" + ENV["ALIAS"] + "/" + version_name + "_Ru.txt")
|
29
|
-
# enText = FileHelper.read(Dir.pwd + "/../../../notes/" + ENV["ALIAS"] + "/" + version_name + "_En.txt")
|
30
|
-
testflight_changelog = ruText + "\n\n" + enText
|
31
|
-
UI.message("changelog = " + testflight_changelog)
|
32
|
-
|
33
|
-
appDescription = Helper::FileHelper.read (Dir.pwd + "/fastlane/metadata/ru/description.txt")
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
options = {changelog: testflight_changelog,
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
# Dir.chdir ".." do
|
43
|
-
|
44
|
-
|
9
|
+
# fastlaneHelper = Fastlane::Helper::GsProjectFlowIosHelper.new
|
10
|
+
# arg = FastlaneCore::Configuration.create(GsIncrementRcVersionAction.available_options, {path:Helper::GsProjectFlowIosHelper.get_versions_path})
|
11
|
+
# v = GsIncrementRcVersionAction.run(arg)
|
12
|
+
# version_name = v.major.to_s + "." + v.minor.to_s + "." + v.build.to_s
|
13
|
+
# UI.message('version' + version_name)
|
14
|
+
#
|
15
|
+
# plist_path = Actions::GetInfoPlistPathAction.run(FastlaneCore::Configuration.create(GetInfoPlistPathAction.available_options,{xcodeproj:ENV["xcodeproj"],
|
16
|
+
# target:ENV["target"]}))
|
17
|
+
# Actions::SetInfoPlistValueAction.run(FastlaneCore::Configuration.create(SetInfoPlistValueAction.available_options,{path: plist_path, key: "ITSAppUsesNonExemptEncryption", value: "false"}))
|
18
|
+
#
|
19
|
+
# Actions::IncrementBuildNumberInPlistAction.run(FastlaneCore::Configuration.create(Actions::IncrementBuildNumberInPlistAction.available_options,
|
20
|
+
# {xcodeproj:ENV["xcodeproj"], target:ENV["target"], build_number: v.build.to_s}))
|
21
|
+
#
|
22
|
+
# Actions::IncrementVersionNumberInPlistAction.run(FastlaneCore::Configuration.create(Actions::IncrementVersionNumberInPlistAction.available_options,
|
23
|
+
# {version_number: v.major.to_s + "." + v.minor.to_s, xcodeproj: ENV["xcodeproj"], target: ENV["target"]}))
|
24
|
+
#
|
25
|
+
# ruText = fastlaneHelper.generateReleaseNotes("fileClosed", params[:alias], v.major.to_s + "." + v.minor.to_s, "Ru")
|
26
|
+
# enText = fastlaneHelper.generateReleaseNotes("fileClosed", params[:alias], v.major.to_s + "." + v.minor.to_s, "En")
|
27
|
+
#
|
28
|
+
# # ruText = FileHelper.read(Dir.pwd + "/../../../notes/" + ENV["ALIAS"] + "/" + version_name + "_Ru.txt")
|
29
|
+
# # enText = FileHelper.read(Dir.pwd + "/../../../notes/" + ENV["ALIAS"] + "/" + version_name + "_En.txt")
|
30
|
+
# testflight_changelog = ruText + "\n\n" + enText
|
31
|
+
# UI.message("changelog = " + testflight_changelog)
|
32
|
+
#
|
33
|
+
# appDescription = Helper::FileHelper.read (Dir.pwd + "/fastlane/metadata/ru/description.txt")
|
34
|
+
#
|
35
|
+
#
|
36
|
+
#
|
37
|
+
# options = {changelog: testflight_changelog,
|
38
|
+
# beta_app_description:appDescription,
|
39
|
+
# distribute_external: false,
|
40
|
+
# beta_app_feedback_email: "cimobdaemon@gmail.com"}
|
41
|
+
#
|
42
|
+
# # Dir.chdir ".." do
|
43
|
+
# sh "chmod 744 ./DeleteDerrivedData.sh"
|
44
|
+
# sh Dir.pwd+"/DeleteDerrivedData.sh"
|
45
|
+
# # end
|
46
|
+
# Actions::GymAction.run(FastlaneCore::Configuration.create(GymAction.available_options,{silent:true, scheme: ENV["APP_SCHEME"], export_method:"app-store", export_options: {provisioningProfiles: {ENV["BUNDLE_ID"] => "AppStore "+ENV["ALIAS"]}}})) # Build your app - more options available
|
47
|
+
#
|
48
|
+
#
|
49
|
+
# s = Actions::GsGetAppStatusAction.run(FastlaneCore::Configuration.create(GsGetAppStatusAction.available_options,{app_identifier:ENV["BUNDLE_ID"]}))
|
50
|
+
# if s == "Pending Developer Release"
|
51
|
+
# Actions::GsRejectLatestVersionAction.run(FastlaneCore::Configuration.create(GsRejectLatestVersionAction.available_options,{app_identifier:ENV["BUNDLE_ID"]}))
|
45
52
|
# end
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
end
|
53
|
-
|
54
|
-
Actions::PilotAction.run(FastlaneCore::Configuration.create(PilotAction.available_options,options))
|
55
|
-
UI.success("App is released to internal testing")
|
53
|
+
#
|
54
|
+
# Actions::PilotAction.run(FastlaneCore::Configuration.create(PilotAction.available_options,options))
|
55
|
+
# UI.success("App is released to internal testing")
|
56
|
+
#
|
57
|
+
# Actions::GsSaveRcVersionAction.run(FastlaneCore::Configuration.create(GsSaveRcVersionAction.available_options,{version: v, path:Helper::GsProjectFlowIosHelper.get_versions_path}))
|
58
|
+
# ENV['RC_DID_FAILED'] = 'false'
|
56
59
|
|
57
|
-
|
58
|
-
ENV['RC_DID_FAILED'] = 'false'
|
60
|
+
version_name = "3" + "." + "5" + "." + "5"
|
59
61
|
|
60
62
|
Actions::GsExecuteRcLaneAction.moveToReview(version_name)
|
61
63
|
UI.success("✅ App status is changed to Waiting For Review")
|