fastlane-plugin-firebase_app_distribution 0.6.0 → 0.6.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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5e7f18a8f8eafbf185e2668199992945f10c594eb0905a7f44dacc19d896dec7
|
|
4
|
+
data.tar.gz: 8d04a88db55901df3e117bd620d3db5b05080f7ba381b9a26cd7fd857c863bb2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 144d169438dbefce6a18448ef9b64012e29d2675487f638b11aeb99ccbb9b075391bb77d57bac106718d1510a791e70fa31d4ddcf6a3b757854e6b93f0e18fde
|
|
7
|
+
data.tar.gz: 114836ed3247cd167071a10ec5d1868da3c090c3f37c792913529438dce1a9ff7ce3d3f4ee3b9c67d2d5f9dae1ab8769872f7cd6992dc6210b0b651a3ab30739
|
|
@@ -26,11 +26,15 @@ module Fastlane
|
|
|
26
26
|
UI.user_error!("A maximum of 1000 testers can be removed at a time.")
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
if blank?(params[:group_alias])
|
|
30
|
+
UI.message("⏳ Removing #{emails.count} testers from project #{params[:project_number]}...")
|
|
31
|
+
count = fad_api_client.remove_testers(params[:project_number], emails)
|
|
32
|
+
UI.success("✅ #{count} tester(s) removed successfully.")
|
|
33
|
+
else
|
|
34
|
+
UI.message("⏳ Removing #{emails.count} testers from group #{params[:group_alias]}...")
|
|
35
|
+
fad_api_client.remove_testers_from_group(params[:project_number], params[:group_alias], emails)
|
|
36
|
+
UI.success("✅ Tester(s) removed successfully.")
|
|
37
|
+
end
|
|
34
38
|
end
|
|
35
39
|
|
|
36
40
|
def self.description
|
|
@@ -55,14 +59,19 @@ module Fastlane
|
|
|
55
59
|
optional: false),
|
|
56
60
|
FastlaneCore::ConfigItem.new(key: :emails,
|
|
57
61
|
env_name: "FIREBASEAPPDISTRO_REMOVE_TESTERS_EMAILS",
|
|
58
|
-
description: "Comma separated list of tester emails to be deleted. A maximum of 1000 testers can be deleted at a time",
|
|
62
|
+
description: "Comma separated list of tester emails to be deleted (or removed from a group if a group alias is specified). A maximum of 1000 testers can be deleted/removed at a time",
|
|
59
63
|
optional: true,
|
|
60
64
|
type: String),
|
|
61
65
|
FastlaneCore::ConfigItem.new(key: :file,
|
|
62
66
|
env_name: "FIREBASEAPPDISTRO_REMOVE_TESTERS_FILE",
|
|
63
|
-
description: "Path to a file containing a comma separated list of tester emails to be deleted. A maximum of 1000 testers can be deleted at a time",
|
|
67
|
+
description: "Path to a file containing a comma separated list of tester emails to be deleted (or removed from a group if a group alias is specified). A maximum of 1000 testers can be deleted/removed at a time",
|
|
64
68
|
optional: true,
|
|
65
69
|
type: String),
|
|
70
|
+
FastlaneCore::ConfigItem.new(key: :group_alias,
|
|
71
|
+
env_name: "FIREBASEAPPDISTRO_REMOVE_TESTERS_GROUP_ALIAS",
|
|
72
|
+
description: "Alias of the group to remove the specified testers from. Testers will not be deleted from the project",
|
|
73
|
+
optional: true,
|
|
74
|
+
type: String),
|
|
66
75
|
FastlaneCore::ConfigItem.new(key: :service_credentials_file,
|
|
67
76
|
description: "Path to Google service credentials file",
|
|
68
77
|
optional: true,
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-firebase_app_distribution
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stefan Natchev
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2023-06-
|
|
13
|
+
date: 2023-06-07 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: pry
|