gs_deliver 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 668ebf3d6f37f20aa5cd41afaacc6fa78de1bec6
|
4
|
+
data.tar.gz: b1a1d704e4c24350335f39bcf906b2ebe2812e7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d3b7ee0d9f66da619fab32232e11ad62fb766edf913cdbb2105e19222ab470a23f5b7739509857cf492565ea381d5d86bd5eeef051757864aca1dc5cc9ee57c
|
7
|
+
data.tar.gz: 5f5ea82dc3b586cce411d565a4a6727ade4e4f1aca33a3bc0f3200d9179570dbe7a34a01d97a57bbbf1ac582d4b50070d4d4776617f2a6664afd6e5451a3c176
|
@@ -0,0 +1,45 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
class GsGetAppStatus < Action
|
4
|
+
def self.run(params)
|
5
|
+
app = Spaceship::Tunes::Application.find(params[:app_identifier])
|
6
|
+
return app.edit_version.app_status
|
7
|
+
end
|
8
|
+
|
9
|
+
def self.description
|
10
|
+
"Gradoservice plugin to rule apps releases"
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.authors
|
14
|
+
["Сергей Веселовский"]
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.return_value
|
18
|
+
# If your method provides a return value, you can describe here what it does
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.details
|
22
|
+
# Optional:
|
23
|
+
"Gradoservice plugin to rule apps releases for our scheme"
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.available_options
|
27
|
+
[
|
28
|
+
# FastlaneCore::ConfigItem.new(key: :your_option,
|
29
|
+
# env_name: "GS_DELIVER_YOUR_OPTION",
|
30
|
+
# description: "A description of your option",
|
31
|
+
# optional: false,
|
32
|
+
# type: String)
|
33
|
+
]
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.is_supported?(platform)
|
37
|
+
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
38
|
+
# See: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
|
39
|
+
#
|
40
|
+
# [:ios, :mac, :android].include?(platform)
|
41
|
+
true
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -3,7 +3,7 @@ module Fastlane
|
|
3
3
|
class GsMoveToReadyForSale < Action
|
4
4
|
def self.run(params)
|
5
5
|
app = Spaceship::Tunes::Application.find(params[:app_identifier])
|
6
|
-
|
6
|
+
app.release!
|
7
7
|
end
|
8
8
|
|
9
9
|
def self.description
|
@@ -25,11 +25,11 @@ module Fastlane
|
|
25
25
|
|
26
26
|
def self.available_options
|
27
27
|
[
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
28
|
+
FastlaneCore::ConfigItem.new(key: :app_identifier,
|
29
|
+
env_name: "GS_APP_IDENTIFIER",
|
30
|
+
description: "A description of your option",
|
31
|
+
optional: false,
|
32
|
+
type: String)
|
33
33
|
]
|
34
34
|
end
|
35
35
|
|