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: 4c815a1c70c3c5d1f7437eda0baaed4f802a8f3c
4
- data.tar.gz: 3b5c9bc7112836e9df6cd16e10a67591dddbdf11
3
+ metadata.gz: 1c09010a9783dafad453c4567bc0af40cf83c1dd
4
+ data.tar.gz: 2bcaef0009acfe14f8422655a94f837cf8eb7b3f
5
5
  SHA512:
6
- metadata.gz: 7d5d11e50e241c4a500a1928087e344ad47ebd01dd3e7e7e7fa76d9cc7e360a868480e1237832b61aaf1b69eb271258c8be1caf6766f60af8b132fcd39ee5866
7
- data.tar.gz: 56757c8b6e32a34e38244721d38e2ce2de493b8c725aa75245a87ef6493762d387168db2d3446f25290c95e7194b403cfa9ac59611b35165c39ced9059ce5ac9
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
- 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"
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
- Actions::GymAction.run(FastlaneCore::Configuration.create(GymAction.available_options,{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"]}))
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
- Actions::GsSaveRcVersionAction.run(FastlaneCore::Configuration.create(GsSaveRcVersionAction.available_options,{version: v, path:Helper::GsProjectFlowIosHelper.get_versions_path}))
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")
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GsProjectFlowIos
3
- VERSION = "0.4.23"
3
+ VERSION = "0.4.24"
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.23
4
+ version: 0.4.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Сергей Веселовский