fastlane-plugin-gs_deliver 0.2.1 → 0.2.2
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: d928c3916f22498ecc40994442a3bb0b17a7fa6a
|
4
|
+
data.tar.gz: 411d9f71f9c12ebe6e69d0fca6cc0053f5092384
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 358320a5e77687c85d4181a85ef8e04f599cde292e44d6d53cfc8db264548402224738737582f73c9472f5157cef76c2c51bd64675e3566d2199b1ba1dc0a7c8
|
7
|
+
data.tar.gz: c6d7b583d96212b3b973de6d13566ed68c2b348181fe3466cce79114f5bccee66f09503923654c8b74c95401d7db5157c52ea6f70211c816813821b09ac75adb
|
@@ -0,0 +1,98 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
class GsExecuteCommandAction < Action
|
4
|
+
def self.run(options)
|
5
|
+
require 'json'
|
6
|
+
|
7
|
+
if options[:project] == nil || options[:displayVersionName] == nil || options[:cmd] == nil
|
8
|
+
raise "Can't send command to server. :project, :displayVersionName, :cmd are required fields"
|
9
|
+
end
|
10
|
+
|
11
|
+
params = options.to_json
|
12
|
+
cmnd = options[:cmd]
|
13
|
+
if cmnd.include? "file"
|
14
|
+
sh ("curl -H \"Content-Type: application/json\" -d \'"+ params +
|
15
|
+
"\' https://mobile.geo4.io/bot/releaseBuilder/cmd -o " + Dir.pwd + "/../../notes/" + options[:project] + "_" +
|
16
|
+
options[:displayVersionName] + ".txt")
|
17
|
+
else
|
18
|
+
sh ("curl -H \"Content-Type: application/json\" -d \'"+ params +
|
19
|
+
"\' https://mobile.geo4.io/bot/releaseBuilder/cmd")
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.description
|
24
|
+
"Gradoservice plugin to rule apps releases"
|
25
|
+
end
|
26
|
+
|
27
|
+
def self.authors
|
28
|
+
["Сергей Веселовский"]
|
29
|
+
end
|
30
|
+
|
31
|
+
def self.return_value
|
32
|
+
# If your method provides a return value, you can describe here what it does
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.details
|
36
|
+
# Optional:
|
37
|
+
"Gradoservice plugin to rule apps releases for our scheme"
|
38
|
+
end
|
39
|
+
|
40
|
+
def self.available_options
|
41
|
+
[
|
42
|
+
FastlaneCore::ConfigItem.new(key: :cmd,
|
43
|
+
description: "Command that indicates bot action",
|
44
|
+
optional: false,
|
45
|
+
type: String),
|
46
|
+
FastlaneCore::ConfigItem.new(key: :buildNumber,
|
47
|
+
description: "buildNumber",
|
48
|
+
optional: true,
|
49
|
+
type: Integer),
|
50
|
+
FastlaneCore::ConfigItem.new(key: :project,
|
51
|
+
description: "project",
|
52
|
+
optional: false,
|
53
|
+
type: String),
|
54
|
+
FastlaneCore::ConfigItem.new(key: :testingProject,
|
55
|
+
description: "testingProject",
|
56
|
+
optional: true,
|
57
|
+
type: String),
|
58
|
+
FastlaneCore::ConfigItem.new(key: :displayVersionName,
|
59
|
+
description: "displayVersionName",
|
60
|
+
optional: false,
|
61
|
+
type: String),
|
62
|
+
FastlaneCore::ConfigItem.new(key: :forgeVersionName,
|
63
|
+
description: "forgeVersionName",
|
64
|
+
optional: true,
|
65
|
+
type: String),
|
66
|
+
FastlaneCore::ConfigItem.new(key: :nameReplacement,
|
67
|
+
description: "nameReplacement",
|
68
|
+
optional: true,
|
69
|
+
type: String),
|
70
|
+
FastlaneCore::ConfigItem.new(key: :namePrefix,
|
71
|
+
description: "namePrefix",
|
72
|
+
optional: true,
|
73
|
+
type: String),
|
74
|
+
FastlaneCore::ConfigItem.new(key: :namePostfix,
|
75
|
+
description: "namePostfix",
|
76
|
+
optional: true,
|
77
|
+
type: String),
|
78
|
+
FastlaneCore::ConfigItem.new(key: :messageHeader,
|
79
|
+
description: "messageHeader",
|
80
|
+
optional: true,
|
81
|
+
type: String),
|
82
|
+
FastlaneCore::ConfigItem.new(key: :messageFooter,
|
83
|
+
description: "messageFooter",
|
84
|
+
optional: true,
|
85
|
+
type: String),
|
86
|
+
]
|
87
|
+
end
|
88
|
+
|
89
|
+
def self.is_supported?(platform)
|
90
|
+
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
91
|
+
# See: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
|
92
|
+
#
|
93
|
+
# [:ios, :mac, :android].include?(platform)
|
94
|
+
true
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
class GsGetReleaseNotesAction < Action
|
4
|
+
def self.run(options)
|
5
|
+
require 'json'
|
6
|
+
params = options.to_json
|
7
|
+
puts("sh curl -H \"Content-Type: application/json\" -d \'"+ params +
|
8
|
+
"\' https://mobile.geo4.io/bot/releaseBuilder/cmd -o " + Dir.pwd + "/../../notes/" + options[:project] + "_" +
|
9
|
+
options[:displayVersionName] + ".txt")
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.description
|
13
|
+
"Gradoservice plugin to rule apps releases"
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.authors
|
17
|
+
["Сергей Веселовский"]
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.return_value
|
21
|
+
# If your method provides a return value, you can describe here what it does
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.details
|
25
|
+
# Optional:
|
26
|
+
"Gradoservice plugin to rule apps releases for our scheme"
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.available_options
|
30
|
+
[
|
31
|
+
FastlaneCore::ConfigItem.new(key: :cmd,
|
32
|
+
description: "Command that indicates bot action",
|
33
|
+
optional: false,
|
34
|
+
type: String),
|
35
|
+
FastlaneCore::ConfigItem.new(key: :buildNumber,
|
36
|
+
description: "buildNumber",
|
37
|
+
optional: true,
|
38
|
+
type: Integer),
|
39
|
+
FastlaneCore::ConfigItem.new(key: :project,
|
40
|
+
description: "project",
|
41
|
+
optional: false,
|
42
|
+
type: String),
|
43
|
+
FastlaneCore::ConfigItem.new(key: :testingProject,
|
44
|
+
description: "testingProject",
|
45
|
+
optional: true,
|
46
|
+
type: String),
|
47
|
+
FastlaneCore::ConfigItem.new(key: :displayVersionName,
|
48
|
+
description: "displayVersionName",
|
49
|
+
optional: false,
|
50
|
+
type: String),
|
51
|
+
FastlaneCore::ConfigItem.new(key: :forgeVersionName,
|
52
|
+
description: "forgeVersionName",
|
53
|
+
optional: true,
|
54
|
+
type: String),
|
55
|
+
FastlaneCore::ConfigItem.new(key: :nameReplacement,
|
56
|
+
description: "nameReplacement",
|
57
|
+
optional: true,
|
58
|
+
type: String),
|
59
|
+
FastlaneCore::ConfigItem.new(key: :namePrefix,
|
60
|
+
description: "namePrefix",
|
61
|
+
optional: true,
|
62
|
+
type: String),
|
63
|
+
FastlaneCore::ConfigItem.new(key: :namePostfix,
|
64
|
+
description: "namePostfix",
|
65
|
+
optional: true,
|
66
|
+
type: String),
|
67
|
+
FastlaneCore::ConfigItem.new(key: :messageHeader,
|
68
|
+
description: "messageHeader",
|
69
|
+
optional: true,
|
70
|
+
type: String),
|
71
|
+
FastlaneCore::ConfigItem.new(key: :messageFooter,
|
72
|
+
description: "messageFooter",
|
73
|
+
optional: true,
|
74
|
+
type: String),
|
75
|
+
]
|
76
|
+
end
|
77
|
+
|
78
|
+
def self.is_supported?(platform)
|
79
|
+
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
80
|
+
# See: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
|
81
|
+
#
|
82
|
+
# [:ios, :mac, :android].include?(platform)
|
83
|
+
true
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
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.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Сергей Веселовский
|
7
|
+
- "Сергей Веселовский"
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -104,7 +104,9 @@ files:
|
|
104
104
|
- README.md
|
105
105
|
- lib/fastlane/plugin/gs_deliver.rb
|
106
106
|
- lib/fastlane/plugin/gs_deliver/actions/gs_deliver_action.rb
|
107
|
+
- lib/fastlane/plugin/gs_deliver/actions/gs_execute_command.rb
|
107
108
|
- lib/fastlane/plugin/gs_deliver/actions/gs_get_app_status.rb
|
109
|
+
- lib/fastlane/plugin/gs_deliver/actions/gs_get_release_notes.rb
|
108
110
|
- lib/fastlane/plugin/gs_deliver/actions/gs_move_rc_to_beta_review.rb
|
109
111
|
- lib/fastlane/plugin/gs_deliver/actions/gs_move_to_ready_for_sale.rb
|
110
112
|
- lib/fastlane/plugin/gs_deliver/actions/gs_reject_latest_version.rb
|
@@ -130,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
132
|
version: '0'
|
131
133
|
requirements: []
|
132
134
|
rubyforge_project:
|
133
|
-
rubygems_version: 2.
|
135
|
+
rubygems_version: 2.4.5.1
|
134
136
|
signing_key:
|
135
137
|
specification_version: 4
|
136
138
|
summary: Gradoservice plugin to rule apps releases
|