fastlane-plugin-gs_project_flow_ios 0.4.25 → 0.4.26

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: 19ea67734e584a86539a71ced1bfa8ef7e09403c
4
- data.tar.gz: ce7bfff113fba3a8a367e68e330e5cec37442827
3
+ metadata.gz: bdbe628eed7a0d5b0cd3951e9b66261dd1bcad08
4
+ data.tar.gz: f4f20510435250d9554033dee1f6d3ef8b83f530
5
5
  SHA512:
6
- metadata.gz: 340716a43b1683cb100c97844bae5d172d56bf34f4db395145219a019e9cdebb128ca885564b3f174cb5113d88d0c20bab79484cc56f928c3b22ce107c20a106
7
- data.tar.gz: 74abcea05b5009b54de8dff387dfb79ab97c7c7d4df0e7db44e624fd856f680797bec499537f5e20c2a9e4da2e117a4eb07508187e220bba29e7b275e9cf0137
6
+ metadata.gz: c069892ccef90f2e2059484c0af55365104e8be88753f5ab36d27ac14308445cb4570e19c4d24b821928ce92882a2845d328f2d3bfc23989023cb8c398c8e9dd
7
+ data.tar.gz: 11d2934d4fbae28e300364d7d065a498c1ec2e7ed4636d5a459d1459d13677149db6270433f42c4c2cb3e1097ed195c7ddc8de4572fb40d835ed8e2a2702f364
@@ -6,58 +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"
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"]}))
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"
52
45
  # end
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'
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"]}))
52
+ end
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'
59
59
 
60
- version_name = "3" + "." + "5" + "." + "5"
60
+ # version_name = "3" + "." + "5" + "." + "5"
61
61
 
62
62
  Actions::GsExecuteRcLaneAction.moveToReview(version_name)
63
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.25"
3
+ VERSION = "0.4.26"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
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.25
4
+ version: 0.4.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Сергей Веселовский
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-16 00:00:00.000000000 Z
11
+ date: 2017-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry