fastlane-plugin-gs_deliver 0.3.5 → 0.3.6
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: eb4e60e6b37875662ee2589ff470585b884f1fe6
|
4
|
+
data.tar.gz: 4e0c2204a3bc2717505ed6ea35b66abfca9d35cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29f224ffb842321ba4469f5a4fb71b7f86026ca8b88726b7ec23b32d70bbb405a789c78b3bb6095709de4409602dbfc4821fc0e9d7cd535e010efc4645e658bd
|
7
|
+
data.tar.gz: 3df57a407d91050b95178138d5fccc5be2762dd2692f21ea30be2d36b21b7043921720954161b35fd99b625f195bebd51040179fb0087e976766edf6880ba435
|
@@ -0,0 +1,65 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
require 'Spaceship'
|
4
|
+
require 'pilot'
|
5
|
+
class GsGetAppStatusAction < Action
|
6
|
+
def self.run(params)
|
7
|
+
build_manager = Pilot::BuildManager.new
|
8
|
+
platform = build_manager.fetch_app_platform(required: false)
|
9
|
+
builds = build_manager.app.all_processing_builds(platform: platform) + app.builds(platform: platform)
|
10
|
+
# sort by upload_date
|
11
|
+
builds.sort! { |a, b| a.upload_date <=> b.upload_date }
|
12
|
+
build = builds.last
|
13
|
+
if build.nil?
|
14
|
+
UI.user_error!("No builds found.")
|
15
|
+
return
|
16
|
+
end
|
17
|
+
if build.processing
|
18
|
+
UI.user_error!("Build #{build.train_version}(#{build.build_version}) is still processing.")
|
19
|
+
return
|
20
|
+
end
|
21
|
+
if build.testing_status == "External"
|
22
|
+
UI.user_error!("Build #{build.train_version}(#{build.build_version}) has already been distributed.")
|
23
|
+
return
|
24
|
+
end
|
25
|
+
|
26
|
+
build.build_train.update_testing_status!(true, type, uploaded_build)
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.description
|
30
|
+
"Gradoservice plugin to rule apps releases"
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.authors
|
34
|
+
["Сергей Веселовский"]
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.return_value
|
38
|
+
# If your method provides a return value, you can describe here what it does
|
39
|
+
end
|
40
|
+
|
41
|
+
def self.details
|
42
|
+
# Optional:
|
43
|
+
"Gradoservice plugin to rule apps releases for our scheme"
|
44
|
+
end
|
45
|
+
|
46
|
+
def self.available_options
|
47
|
+
[
|
48
|
+
FastlaneCore::ConfigItem.new(key: :app_identifier,
|
49
|
+
env_name: "BUNDLE_ID",
|
50
|
+
description: "A description of your option",
|
51
|
+
optional: false,
|
52
|
+
type: String)
|
53
|
+
]
|
54
|
+
end
|
55
|
+
|
56
|
+
def self.is_supported?(platform)
|
57
|
+
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
58
|
+
# See: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
|
59
|
+
#
|
60
|
+
# [:ios, :mac, :android].include?(platform)
|
61
|
+
true
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-gs_deliver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Сергей Веселовский
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -107,6 +107,7 @@ files:
|
|
107
107
|
- lib/fastlane/plugin/gs_deliver/actions/gs_move_rc_to_beta_review.rb
|
108
108
|
- lib/fastlane/plugin/gs_deliver/actions/gs_move_to_ready_for_sale.rb
|
109
109
|
- lib/fastlane/plugin/gs_deliver/actions/gs_reject_latest_version.rb
|
110
|
+
- lib/fastlane/plugin/gs_deliver/actions/gs_start_external_testing.rb
|
110
111
|
- lib/fastlane/plugin/gs_deliver/helper/gs_deliver_helper.rb
|
111
112
|
- lib/fastlane/plugin/gs_deliver/version.rb
|
112
113
|
- lib/fastlane/plugin/gs_deliver.rb
|