fastlane-plugin-codepush-fix 0.2.3
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 +7 -0
- data/LICENSE +21 -0
- data/README.md +69 -0
- data/lib/fastlane/plugin/codepush/actions/codepush_add_deployment_action.rb +71 -0
- data/lib/fastlane/plugin/codepush/actions/codepush_exists_deployment_action.rb +71 -0
- data/lib/fastlane/plugin/codepush/actions/codepush_get_deployment_key_action.rb +80 -0
- data/lib/fastlane/plugin/codepush/actions/codepush_list_deployment_action.rb +64 -0
- data/lib/fastlane/plugin/codepush/actions/codepush_login_action.rb +61 -0
- data/lib/fastlane/plugin/codepush/actions/codepush_logout_action.rb +34 -0
- data/lib/fastlane/plugin/codepush/actions/codepush_promote_action.rb +118 -0
- data/lib/fastlane/plugin/codepush/actions/codepush_release_react_action.rb +197 -0
- data/lib/fastlane/plugin/codepush/actions/codepush_remove_deployment_action.rb +71 -0
- data/lib/fastlane/plugin/codepush/actions/codepush_rename_deployment_action.rb +78 -0
- data/lib/fastlane/plugin/codepush/helper/codepush_login_helper.rb +41 -0
- data/lib/fastlane/plugin/codepush/version.rb +5 -0
- data/lib/fastlane/plugin/codepush.rb +16 -0
- metadata +183 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0a9639a34eb329c7f5ef46a7f4b4bf1b18ca3516e3b40beb558b78b5b128e276
|
4
|
+
data.tar.gz: afda58e1e0839f5dc16fca27a3436e315fd02a3bf0cecaa2363365ab0ff01403
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 25280ae8006435919634192188a2ca4d08cdb3fa9c0d9f74f8e36832fec962d7c11fc6370116c5753d975deb086e7b08a12ee23bca777538fe33760f0edc3fe4
|
7
|
+
data.tar.gz: 03fac1598b955fe7afcefbbfc1558fd07ca416e96c81306dfc2e68ec33c2b3f3e555ac88069930606d912d223f8b9f0911a7f1d0b4c3a0aa127a435306dd1666
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Pranit Harekar <pranitharekar@hotmail.com>
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
# Fastlane CodePush plugin
|
2
|
+
|
3
|
+
[](https://travis-ci.com/Pranit-Harekar/fastlane-plugin-codepush)
|
4
|
+
[](https://rubygems.org/gems/fastlane-plugin-codepush)
|
5
|
+
|
6
|
+
[📚Documentation](https://github.com/Pranit-Harekar/fastlane-plugin-codepush/wiki)
|
7
|
+
|
8
|
+
## Prerequisites
|
9
|
+
|
10
|
+
Install the [App Center CLI](https://docs.microsoft.com/en-us/appcenter/distribution/codepush/cli#installation)
|
11
|
+
|
12
|
+
```
|
13
|
+
npm install -g appcenter-cli
|
14
|
+
```
|
15
|
+
|
16
|
+
## Getting Started
|
17
|
+
|
18
|
+
This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-codepush`, add it to your project by running:
|
19
|
+
|
20
|
+
```bash
|
21
|
+
fastlane add_plugin codepush
|
22
|
+
```
|
23
|
+
|
24
|
+
## About codepush
|
25
|
+
|
26
|
+
This is a Fastlane plugin for App Center CodePush service.
|
27
|
+
|
28
|
+
### List of available actions
|
29
|
+
|
30
|
+
[Checkout docs](https://github.com/Pranit-Harekar/fastlane-plugin-codepush/wiki)
|
31
|
+
|
32
|
+
## Example
|
33
|
+
|
34
|
+
Check out the [example `Fastfile`](examples/ReactNative/fastlane/Fastfile) to see how to use this plugin.
|
35
|
+
|
36
|
+
## Run tests for this plugin
|
37
|
+
|
38
|
+
To run both the tests, and code style validation, run
|
39
|
+
|
40
|
+
```
|
41
|
+
rake
|
42
|
+
```
|
43
|
+
|
44
|
+
To automatically fix many of the styling issues, use
|
45
|
+
|
46
|
+
```
|
47
|
+
rubocop -a
|
48
|
+
```
|
49
|
+
|
50
|
+
## Issues and Feedback
|
51
|
+
|
52
|
+
For any other issues and feedback about this plugin, please submit it to this repository. Feel free to submit pull requests and improve test coverage.
|
53
|
+
|
54
|
+
## Troubleshooting
|
55
|
+
|
56
|
+
If you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.
|
57
|
+
|
58
|
+
## Using _fastlane_ Plugins
|
59
|
+
|
60
|
+
For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).
|
61
|
+
|
62
|
+
## About _fastlane_
|
63
|
+
|
64
|
+
_fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
|
65
|
+
|
66
|
+
## Why this plugin?
|
67
|
+
|
68
|
+
- [fastlane-plugin-appcenter](https://github.com/microsoft/fastlane-plugin-appcenter) does not support CodePush
|
69
|
+
- [Fastfastlane-plugin-code_pushlane](https://github.com/manuelkch/fastlane-plugin-code_push) is outdated & does not support App Center CLI
|
@@ -0,0 +1,71 @@
|
|
1
|
+
require 'fastlane/action'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Actions
|
5
|
+
class CodepushAddDeploymentAction < Action
|
6
|
+
def self.run(params)
|
7
|
+
Dir.chdir(params[:execution_dir_path].to_s) do
|
8
|
+
command = "appcenter codepush deployment add "
|
9
|
+
## params
|
10
|
+
command += "-a #{params[:app_name]} "
|
11
|
+
command += (params[:deployment_name]).to_s
|
12
|
+
|
13
|
+
if params[:dry_run]
|
14
|
+
UI.message('Dry run!'.red + ' Would have run: ' + command + "\n")
|
15
|
+
else
|
16
|
+
sh(command.to_s)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.description
|
22
|
+
'CodePush add deployment action'
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.authors
|
26
|
+
['Pranit Harekar']
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.return_value
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.details
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.available_options
|
36
|
+
[
|
37
|
+
FastlaneCore::ConfigItem.new(
|
38
|
+
key: :app_name,
|
39
|
+
env_name: "APP_CENTER_APP_NAME",
|
40
|
+
description: "Name of the App Center app, optional if ENV['APP_CENTER_APP_NAME'] is set",
|
41
|
+
optional: false,
|
42
|
+
type: String
|
43
|
+
),
|
44
|
+
FastlaneCore::ConfigItem.new(
|
45
|
+
key: :execution_dir_path,
|
46
|
+
description: 'Release React CLI command execution dir path',
|
47
|
+
optional: true,
|
48
|
+
type: String,
|
49
|
+
default_value: "./"
|
50
|
+
),
|
51
|
+
FastlaneCore::ConfigItem.new(
|
52
|
+
key: :deployment_name,
|
53
|
+
description: 'Deployment name',
|
54
|
+
optional: false,
|
55
|
+
type: String
|
56
|
+
),
|
57
|
+
FastlaneCore::ConfigItem.new(
|
58
|
+
key: :dry_run,
|
59
|
+
description: "Print the command that would be run, and don't run it",
|
60
|
+
is_string: false,
|
61
|
+
default_value: false
|
62
|
+
)
|
63
|
+
]
|
64
|
+
end
|
65
|
+
|
66
|
+
def self.is_supported?(platform)
|
67
|
+
true
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
require 'fastlane/action'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Actions
|
5
|
+
class CodepushExistsDeploymentAction < Action
|
6
|
+
def self.run(params)
|
7
|
+
Dir.chdir(params[:execution_dir_path].to_s) do
|
8
|
+
command = "appcenter codepush deployment list "
|
9
|
+
## params
|
10
|
+
command += "-a #{params[:app_name]}"
|
11
|
+
|
12
|
+
if params[:dry_run]
|
13
|
+
UI.message('Dry run!'.red + ' Would have run: ' + command + "\n")
|
14
|
+
else
|
15
|
+
return sh(command.to_s).include?(params[:deployment_name])
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.description
|
21
|
+
'CodePush check if deployment exists'
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.authors
|
25
|
+
['Pranit Harekar']
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.return_value
|
29
|
+
'Returns boolean value indicating whether deployment exists or not'
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.details
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.available_options
|
36
|
+
[
|
37
|
+
FastlaneCore::ConfigItem.new(
|
38
|
+
key: :app_name,
|
39
|
+
env_name: "APP_CENTER_APP_NAME",
|
40
|
+
description: "Name of the App Center app, optional if ENV['APP_CENTER_APP_NAME'] is set",
|
41
|
+
optional: false,
|
42
|
+
type: String
|
43
|
+
),
|
44
|
+
FastlaneCore::ConfigItem.new(
|
45
|
+
key: :execution_dir_path,
|
46
|
+
description: 'Release React CLI command execution dir path',
|
47
|
+
optional: true,
|
48
|
+
type: String,
|
49
|
+
default_value: "./"
|
50
|
+
),
|
51
|
+
FastlaneCore::ConfigItem.new(
|
52
|
+
key: :dry_run,
|
53
|
+
description: "Print the command that would be run, and don't run it",
|
54
|
+
is_string: false,
|
55
|
+
default_value: false
|
56
|
+
),
|
57
|
+
FastlaneCore::ConfigItem.new(
|
58
|
+
key: :deployment_name,
|
59
|
+
description: 'Deployment name',
|
60
|
+
optional: false,
|
61
|
+
type: String
|
62
|
+
)
|
63
|
+
]
|
64
|
+
end
|
65
|
+
|
66
|
+
def self.is_supported?(platform)
|
67
|
+
true
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,80 @@
|
|
1
|
+
require 'fastlane/action'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Actions
|
5
|
+
class CodepushGetDeploymentKeyAction < Action
|
6
|
+
def self.run(params)
|
7
|
+
Dir.chdir(params[:execution_dir_path].to_s) do
|
8
|
+
result = Actions::CodepushExistsDeploymentAction.run(params)
|
9
|
+
if result
|
10
|
+
command = "appcenter codepush deployment list "
|
11
|
+
## params
|
12
|
+
command += "-a #{params[:app_name]} "
|
13
|
+
command += "--displayKeys "
|
14
|
+
|
15
|
+
if params[:dry_run]
|
16
|
+
UI.message('Dry run!'.red + ' Would have run: ' + command + "\n")
|
17
|
+
else
|
18
|
+
result = sh(command.to_s)
|
19
|
+
m = result.match(/#{params[:deployment_name]}[^│]+│[^│]+(?<key>[\w_-]{37})/)
|
20
|
+
return m[:key]
|
21
|
+
end
|
22
|
+
else
|
23
|
+
UI.important("🙅♀️ Deployment '#{params[:deployment_name]}' does not exists!")
|
24
|
+
return nil
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.description
|
30
|
+
'CodePush get deployment key given deployment name'
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.authors
|
34
|
+
['Pranit Harekar']
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.return_value
|
38
|
+
'Returns deployment key in string format. Returns nil if deployment does not exists'
|
39
|
+
end
|
40
|
+
|
41
|
+
def self.details
|
42
|
+
end
|
43
|
+
|
44
|
+
def self.available_options
|
45
|
+
[
|
46
|
+
FastlaneCore::ConfigItem.new(
|
47
|
+
key: :app_name,
|
48
|
+
env_name: "APP_CENTER_APP_NAME",
|
49
|
+
description: "Name of the App Center app, optional if ENV['APP_CENTER_APP_NAME'] is set",
|
50
|
+
optional: false,
|
51
|
+
type: String
|
52
|
+
),
|
53
|
+
FastlaneCore::ConfigItem.new(
|
54
|
+
key: :execution_dir_path,
|
55
|
+
description: 'Release React CLI command execution dir path',
|
56
|
+
optional: true,
|
57
|
+
type: String,
|
58
|
+
default_value: "./"
|
59
|
+
),
|
60
|
+
FastlaneCore::ConfigItem.new(
|
61
|
+
key: :dry_run,
|
62
|
+
description: "Print the command that would be run, and don't run it",
|
63
|
+
is_string: false,
|
64
|
+
default_value: false
|
65
|
+
),
|
66
|
+
FastlaneCore::ConfigItem.new(
|
67
|
+
key: :deployment_name,
|
68
|
+
description: 'Deployment name',
|
69
|
+
optional: false,
|
70
|
+
type: String
|
71
|
+
)
|
72
|
+
]
|
73
|
+
end
|
74
|
+
|
75
|
+
def self.is_supported?(platform)
|
76
|
+
true
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
require 'fastlane/action'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Actions
|
5
|
+
class CodepushListDeploymentAction < Action
|
6
|
+
def self.run(params)
|
7
|
+
Dir.chdir(params[:execution_dir_path].to_s) do
|
8
|
+
command = "appcenter codepush deployment list "
|
9
|
+
## params
|
10
|
+
command += "-a #{params[:app_name]}"
|
11
|
+
|
12
|
+
if params[:dry_run]
|
13
|
+
UI.message('Dry run!'.red + ' Would have run: ' + command + "\n")
|
14
|
+
else
|
15
|
+
sh(command.to_s)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.description
|
21
|
+
'CodePush list deployment action'
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.authors
|
25
|
+
['Pranit Harekar']
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.return_value
|
29
|
+
end
|
30
|
+
|
31
|
+
def self.details
|
32
|
+
end
|
33
|
+
|
34
|
+
def self.available_options
|
35
|
+
[
|
36
|
+
FastlaneCore::ConfigItem.new(
|
37
|
+
key: :app_name,
|
38
|
+
env_name: "APP_CENTER_APP_NAME",
|
39
|
+
description: "Name of the App Center app, optional if ENV['APP_CENTER_APP_NAME'] is set",
|
40
|
+
optional: false,
|
41
|
+
type: String
|
42
|
+
),
|
43
|
+
FastlaneCore::ConfigItem.new(
|
44
|
+
key: :execution_dir_path,
|
45
|
+
description: 'Release React CLI command execution dir path',
|
46
|
+
optional: true,
|
47
|
+
type: String,
|
48
|
+
default_value: "./"
|
49
|
+
),
|
50
|
+
FastlaneCore::ConfigItem.new(
|
51
|
+
key: :dry_run,
|
52
|
+
description: "Print the command that would be run, and don't run it",
|
53
|
+
is_string: false,
|
54
|
+
default_value: false
|
55
|
+
)
|
56
|
+
]
|
57
|
+
end
|
58
|
+
|
59
|
+
def self.is_supported?(platform)
|
60
|
+
true
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
require 'fastlane/action'
|
2
|
+
require_relative '../helper/codepush_login_helper'
|
3
|
+
|
4
|
+
module Fastlane
|
5
|
+
module Actions
|
6
|
+
class CodepushLoginAction < Action
|
7
|
+
def self.run(params)
|
8
|
+
if params[:enforce] == true
|
9
|
+
Helper::CodepushLoginHelper.logout
|
10
|
+
end
|
11
|
+
|
12
|
+
unless Helper::CodepushLoginHelper.is_logged_in
|
13
|
+
if params[:login_token].instance_of?(String)
|
14
|
+
Helper::CodepushLoginHelper.login(params[:login_token])
|
15
|
+
else
|
16
|
+
UI.user_error!('💥Missing login_token param')
|
17
|
+
UI.message!('Note: You can either pass login_token or set APP_CENTER_LOGIN_TOKEN environment variable')
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.description
|
23
|
+
'CodePush login action'
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.authors
|
27
|
+
['Pranit Harekar']
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.return_value
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.details
|
34
|
+
'Log in to App Center to access CodePush service. You can pass token via login_token param or set APP_CENTER_LOGIN_TOKEN environment variable. If none were passed your action will be blocked with UI prompt.'
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.available_options
|
38
|
+
[
|
39
|
+
FastlaneCore::ConfigItem.new(
|
40
|
+
key: :login_token,
|
41
|
+
env_name: 'APP_CENTER_LOGIN_TOKEN',
|
42
|
+
description: "App center login token to access CodePush service, optional if ENV['APP_CENTER_LOGIN_TOKEN'] is set",
|
43
|
+
optional: false,
|
44
|
+
type: String
|
45
|
+
),
|
46
|
+
FastlaneCore::ConfigItem.new(
|
47
|
+
key: :enforce,
|
48
|
+
type: TrueClass,
|
49
|
+
optional: true,
|
50
|
+
default_value: false,
|
51
|
+
description: "Enforce logout before login"
|
52
|
+
)
|
53
|
+
]
|
54
|
+
end
|
55
|
+
|
56
|
+
def self.is_supported?(platform)
|
57
|
+
true
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require 'fastlane/action'
|
2
|
+
require_relative '../helper/codepush_login_helper'
|
3
|
+
|
4
|
+
module Fastlane
|
5
|
+
module Actions
|
6
|
+
class CodepushLogoutAction < Action
|
7
|
+
def self.run(params)
|
8
|
+
Helper::CodepushLoginHelper.logout
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.description
|
12
|
+
'CodePush logout action'
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.authors
|
16
|
+
['Pranit Harekar']
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.return_value
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.details
|
23
|
+
'Log out of App Center'
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.available_options
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.is_supported?(platform)
|
30
|
+
true
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,118 @@
|
|
1
|
+
require 'fastlane/action'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Actions
|
5
|
+
class CodepushPromoteAction < Action
|
6
|
+
def self.run(params)
|
7
|
+
Dir.chdir(params[:execution_dir_path].to_s) do
|
8
|
+
command = "appcenter codepush promote "
|
9
|
+
|
10
|
+
## params
|
11
|
+
command += "-a #{params[:app_name]} "
|
12
|
+
command += "-t #{params[:target_binary_version]} " if params[:target_binary_version]
|
13
|
+
command += "-s #{params[:source_deployment_name]} " if params[:source_deployment_name]
|
14
|
+
command += "-d #{params[:destination_deployment_name]} " if params[:destination_deployment_name]
|
15
|
+
command += "-r #{params[:rollout_percentage]} " if params[:rollout_percentage]
|
16
|
+
command += '--disable-duplicate-release-error ' if params[:disable_duplicate_release_error]
|
17
|
+
command += '--disable-telemetry ' if params[:disable_telemetry]
|
18
|
+
command += "--description #{params[:description]} " if params[:description]
|
19
|
+
|
20
|
+
if params[:dry_run]
|
21
|
+
UI.message('Dry run!'.red + ' Would have run: ' + command + "\n")
|
22
|
+
else
|
23
|
+
sh(command.to_s)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.description
|
29
|
+
'CodePush promote action'
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.authors
|
33
|
+
['Pranit Harekar']
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.return_value
|
37
|
+
# If your method provides a return value, you can describe here what it does
|
38
|
+
end
|
39
|
+
|
40
|
+
def self.details
|
41
|
+
end
|
42
|
+
|
43
|
+
def self.available_options
|
44
|
+
[
|
45
|
+
FastlaneCore::ConfigItem.new(
|
46
|
+
key: :app_name,
|
47
|
+
env_name: "APP_CENTER_APP_NAME",
|
48
|
+
description: "Name of the App Center app, optional if ENV['APP_CENTER_APP_NAME'] is set",
|
49
|
+
optional: false,
|
50
|
+
type: String
|
51
|
+
),
|
52
|
+
FastlaneCore::ConfigItem.new(
|
53
|
+
key: :execution_dir_path,
|
54
|
+
description: 'Promote CLI command execution dir path',
|
55
|
+
optional: true,
|
56
|
+
type: String,
|
57
|
+
default_value: "./"
|
58
|
+
),
|
59
|
+
FastlaneCore::ConfigItem.new(
|
60
|
+
key: :target_binary_version,
|
61
|
+
description: 'Store/binary version of the app you are releasing the update for',
|
62
|
+
optional: true,
|
63
|
+
type: String,
|
64
|
+
default_value: "\"*\""
|
65
|
+
),
|
66
|
+
FastlaneCore::ConfigItem.new(
|
67
|
+
key: :source_deployment_name,
|
68
|
+
description: 'Source deployment name',
|
69
|
+
optional: false,
|
70
|
+
type: String
|
71
|
+
),
|
72
|
+
FastlaneCore::ConfigItem.new(
|
73
|
+
key: :destination_deployment_name,
|
74
|
+
description: 'Destination deployment name',
|
75
|
+
optional: false,
|
76
|
+
type: String
|
77
|
+
),
|
78
|
+
FastlaneCore::ConfigItem.new(
|
79
|
+
key: :description,
|
80
|
+
description: "An optional change log for the deployment",
|
81
|
+
optional: true,
|
82
|
+
type: String
|
83
|
+
),
|
84
|
+
FastlaneCore::ConfigItem.new(
|
85
|
+
key: :rollout_percentage,
|
86
|
+
description: "Percentage of users that should be eligible to receive this update",
|
87
|
+
optional: true,
|
88
|
+
type: String
|
89
|
+
),
|
90
|
+
FastlaneCore::ConfigItem.new(
|
91
|
+
key: :disable_duplicate_release_error,
|
92
|
+
description: "Specify whether duplicate release error should be disabled or not",
|
93
|
+
optional: true,
|
94
|
+
is_string: false,
|
95
|
+
default_value: false
|
96
|
+
),
|
97
|
+
FastlaneCore::ConfigItem.new(
|
98
|
+
key: :disable_telemetry,
|
99
|
+
description: "Specify whether telemetry should be disabled or not",
|
100
|
+
optional: true,
|
101
|
+
is_string: false,
|
102
|
+
default_value: false
|
103
|
+
),
|
104
|
+
FastlaneCore::ConfigItem.new(
|
105
|
+
key: :dry_run,
|
106
|
+
description: "Print the command that would be run, and don't run it",
|
107
|
+
is_string: false,
|
108
|
+
default_value: false
|
109
|
+
)
|
110
|
+
]
|
111
|
+
end
|
112
|
+
|
113
|
+
def self.is_supported?(platform)
|
114
|
+
true
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
@@ -0,0 +1,197 @@
|
|
1
|
+
require 'fastlane/action'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Actions
|
5
|
+
class CodepushReleaseReactAction < Action
|
6
|
+
def self.run(params)
|
7
|
+
Dir.chdir(params[:execution_dir_path].to_s) do
|
8
|
+
command = "appcenter codepush release-react "
|
9
|
+
|
10
|
+
## params
|
11
|
+
command += "-a #{params[:app_name]} "
|
12
|
+
command += "-t #{params[:target_binary_version]} " if params[:target_binary_version]
|
13
|
+
command += "-d #{params[:deployment_name]} " if params[:deployment_name]
|
14
|
+
command += "-o #{params[:output_dir]} " if params[:output_dir]
|
15
|
+
command += "-s #{params[:sourcemap_output]} " if params[:sourcemap_output]
|
16
|
+
command += "--plist-file-prefix #{params[:plist_file_prefix]} " if params[:plist_file_prefix]
|
17
|
+
command += "-p #{params[:plist_file]} " if params[:plist_file]
|
18
|
+
command += "-g #{params[:gradle_file]} " if params[:gradle_file]
|
19
|
+
command += "--description #{params[:description]} " if params[:description]
|
20
|
+
command += '-m ' if params[:mandatory]
|
21
|
+
command += '-x ' if params[:disabled]
|
22
|
+
command += "-r #{params[:rollout_percentage]} " if params[:rollout_percentage]
|
23
|
+
command += '--disable-duplicate-release-error ' if params[:disable_duplicate_release_error]
|
24
|
+
command += '--disable-telemetry ' if params[:disable_telemetry]
|
25
|
+
command += "-v #{params[:version]} " if params[:version]
|
26
|
+
command += "-k #{params[:private_key_path]} " if params[:private_key_path]
|
27
|
+
command += "-e #{params[:entry_file]} " if params[:entry_file]
|
28
|
+
command += "--development " if params[:development]
|
29
|
+
command += "-b #{params[:bundle_name]} " if params[:bundle_name]
|
30
|
+
|
31
|
+
if params[:dry_run]
|
32
|
+
UI.message('Dry run!'.red + ' Would have run: ' + command + "\n")
|
33
|
+
else
|
34
|
+
sh(command.to_s)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def self.description
|
40
|
+
'CodePush release-react action'
|
41
|
+
end
|
42
|
+
|
43
|
+
def self.authors
|
44
|
+
['Pranit Harekar']
|
45
|
+
end
|
46
|
+
|
47
|
+
def self.return_value
|
48
|
+
# If your method provides a return value, you can describe here what it does
|
49
|
+
end
|
50
|
+
|
51
|
+
def self.details
|
52
|
+
end
|
53
|
+
|
54
|
+
def self.available_options
|
55
|
+
[
|
56
|
+
FastlaneCore::ConfigItem.new(
|
57
|
+
key: :app_name,
|
58
|
+
env_name: "APP_CENTER_APP_NAME",
|
59
|
+
description: "Name of the App Center app, optional if ENV['APP_CENTER_APP_NAME'] is set",
|
60
|
+
optional: false,
|
61
|
+
type: String
|
62
|
+
),
|
63
|
+
FastlaneCore::ConfigItem.new(
|
64
|
+
key: :execution_dir_path,
|
65
|
+
description: 'Release React CLI command execution dir path',
|
66
|
+
optional: true,
|
67
|
+
type: String,
|
68
|
+
default_value: "./"
|
69
|
+
),
|
70
|
+
FastlaneCore::ConfigItem.new(
|
71
|
+
key: :target_binary_version,
|
72
|
+
description: 'Store/binary version of the app you are releasing the update for',
|
73
|
+
optional: true,
|
74
|
+
type: String,
|
75
|
+
),
|
76
|
+
FastlaneCore::ConfigItem.new(
|
77
|
+
key: :deployment_name,
|
78
|
+
description: 'Deployment name',
|
79
|
+
optional: true,
|
80
|
+
type: String
|
81
|
+
),
|
82
|
+
FastlaneCore::ConfigItem.new(
|
83
|
+
key: :output_dir,
|
84
|
+
description: 'Output directory',
|
85
|
+
optional: true,
|
86
|
+
type: String
|
87
|
+
),
|
88
|
+
FastlaneCore::ConfigItem.new(
|
89
|
+
key: :sourcemap_output,
|
90
|
+
description: "Relative path to where the generated JS bundle's source map file should be written",
|
91
|
+
optional: true,
|
92
|
+
type: String
|
93
|
+
),
|
94
|
+
FastlaneCore::ConfigItem.new(
|
95
|
+
key: :plist_file_prefix,
|
96
|
+
description: "File name prefix of the Info.plist file",
|
97
|
+
optional: true,
|
98
|
+
type: String
|
99
|
+
),
|
100
|
+
FastlaneCore::ConfigItem.new(
|
101
|
+
key: :plist_file,
|
102
|
+
description: "Relative path to the Info.plist file",
|
103
|
+
optional: true,
|
104
|
+
type: String
|
105
|
+
),
|
106
|
+
FastlaneCore::ConfigItem.new(
|
107
|
+
key: :gradle_file,
|
108
|
+
description: "Relative path to the build.gradle file",
|
109
|
+
optional: true,
|
110
|
+
type: String
|
111
|
+
),
|
112
|
+
FastlaneCore::ConfigItem.new(
|
113
|
+
key: :description,
|
114
|
+
description: "An optional change log for the deployment",
|
115
|
+
optional: true,
|
116
|
+
type: String
|
117
|
+
),
|
118
|
+
FastlaneCore::ConfigItem.new(
|
119
|
+
key: :mandatory,
|
120
|
+
description: "Specify whether the update should be considered mandatory or not",
|
121
|
+
optional: true,
|
122
|
+
is_string: false,
|
123
|
+
default_value: false
|
124
|
+
),
|
125
|
+
FastlaneCore::ConfigItem.new(
|
126
|
+
key: :disabled,
|
127
|
+
description: "Specify whether the update should be downloadable by end users or not",
|
128
|
+
optional: true,
|
129
|
+
is_string: false,
|
130
|
+
default_value: false
|
131
|
+
),
|
132
|
+
FastlaneCore::ConfigItem.new(
|
133
|
+
key: :rollout_percentage,
|
134
|
+
description: "Percentage of users that should be eligible to receive this update",
|
135
|
+
optional: true,
|
136
|
+
type: String
|
137
|
+
),
|
138
|
+
FastlaneCore::ConfigItem.new(
|
139
|
+
key: :disable_duplicate_release_error,
|
140
|
+
description: "Specify whether duplicate release error should be disabled or not",
|
141
|
+
optional: true,
|
142
|
+
is_string: false,
|
143
|
+
default_value: false
|
144
|
+
),
|
145
|
+
FastlaneCore::ConfigItem.new(
|
146
|
+
key: :disable_telemetry,
|
147
|
+
description: "Specify whether telemetry should be disabled or not",
|
148
|
+
optional: true,
|
149
|
+
is_string: false,
|
150
|
+
default_value: false
|
151
|
+
),
|
152
|
+
FastlaneCore::ConfigItem.new(
|
153
|
+
key: :version,
|
154
|
+
description: "version",
|
155
|
+
optional: true,
|
156
|
+
type: String
|
157
|
+
),
|
158
|
+
FastlaneCore::ConfigItem.new(
|
159
|
+
key: :private_key_path,
|
160
|
+
description: "Relative path to private key",
|
161
|
+
optional: true,
|
162
|
+
type: String
|
163
|
+
),
|
164
|
+
FastlaneCore::ConfigItem.new(
|
165
|
+
key: :entry_file,
|
166
|
+
description: "Relative path to the app's root/entry JavaScript file",
|
167
|
+
optional: true,
|
168
|
+
type: String
|
169
|
+
),
|
170
|
+
FastlaneCore::ConfigItem.new(
|
171
|
+
key: :development,
|
172
|
+
description: "Specify whether to generate an unminified, development JS bundle",
|
173
|
+
optional: true,
|
174
|
+
is_string: false,
|
175
|
+
default_value: false
|
176
|
+
),
|
177
|
+
FastlaneCore::ConfigItem.new(
|
178
|
+
key: :bundle_name,
|
179
|
+
description: "File name that should be used for the generated JS bundle",
|
180
|
+
optional: true,
|
181
|
+
type: String
|
182
|
+
),
|
183
|
+
FastlaneCore::ConfigItem.new(
|
184
|
+
key: :dry_run,
|
185
|
+
description: "Print the command that would be run, and don't run it",
|
186
|
+
is_string: false,
|
187
|
+
default_value: false
|
188
|
+
)
|
189
|
+
]
|
190
|
+
end
|
191
|
+
|
192
|
+
def self.is_supported?(platform)
|
193
|
+
[:ios, :android].include?(platform)
|
194
|
+
end
|
195
|
+
end
|
196
|
+
end
|
197
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
require 'fastlane/action'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Actions
|
5
|
+
class CodepushRemoveDeploymentAction < Action
|
6
|
+
def self.run(params)
|
7
|
+
Dir.chdir(params[:execution_dir_path].to_s) do
|
8
|
+
command = "appcenter codepush deployment remove "
|
9
|
+
## params
|
10
|
+
command += "-a #{params[:app_name]} "
|
11
|
+
command += (params[:deployment_name]).to_s
|
12
|
+
|
13
|
+
if params[:dry_run]
|
14
|
+
UI.message('Dry run!'.red + ' Would have run: ' + command + "\n")
|
15
|
+
else
|
16
|
+
sh(command.to_s)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.description
|
22
|
+
'CodePush remove deployment action'
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.authors
|
26
|
+
['Pranit Harekar']
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.return_value
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.details
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.available_options
|
36
|
+
[
|
37
|
+
FastlaneCore::ConfigItem.new(
|
38
|
+
key: :app_name,
|
39
|
+
env_name: "APP_CENTER_APP_NAME",
|
40
|
+
description: "Name of the App Center app, optional if ENV['APP_CENTER_APP_NAME'] is set",
|
41
|
+
optional: false,
|
42
|
+
type: String
|
43
|
+
),
|
44
|
+
FastlaneCore::ConfigItem.new(
|
45
|
+
key: :execution_dir_path,
|
46
|
+
description: 'Release React CLI command execution dir path',
|
47
|
+
optional: true,
|
48
|
+
type: String,
|
49
|
+
default_value: "./"
|
50
|
+
),
|
51
|
+
FastlaneCore::ConfigItem.new(
|
52
|
+
key: :deployment_name,
|
53
|
+
description: 'Deployment name',
|
54
|
+
optional: false,
|
55
|
+
type: String
|
56
|
+
),
|
57
|
+
FastlaneCore::ConfigItem.new(
|
58
|
+
key: :dry_run,
|
59
|
+
description: "Print the command that would be run, and don't run it",
|
60
|
+
is_string: false,
|
61
|
+
default_value: false
|
62
|
+
)
|
63
|
+
]
|
64
|
+
end
|
65
|
+
|
66
|
+
def self.is_supported?(platform)
|
67
|
+
true
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,78 @@
|
|
1
|
+
require 'fastlane/action'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Actions
|
5
|
+
class CodepushRenameDeploymentAction < Action
|
6
|
+
def self.run(params)
|
7
|
+
Dir.chdir(params[:execution_dir_path].to_s) do
|
8
|
+
command = "appcenter codepush deployment rename "
|
9
|
+
## params
|
10
|
+
command += "-a #{params[:app_name]} "
|
11
|
+
command += "#{params[:deployment_name]} "
|
12
|
+
command += (params[:new_deployment_name]).to_s
|
13
|
+
|
14
|
+
if params[:dry_run]
|
15
|
+
UI.message('Dry run!'.red + ' Would have run: ' + command + "\n")
|
16
|
+
else
|
17
|
+
sh(command.to_s)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.description
|
23
|
+
'CodePush rename deployment action'
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.authors
|
27
|
+
['Pranit Harekar']
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.return_value
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.details
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.available_options
|
37
|
+
[
|
38
|
+
FastlaneCore::ConfigItem.new(
|
39
|
+
key: :app_name,
|
40
|
+
env_name: "APP_CENTER_APP_NAME",
|
41
|
+
description: "Name of the App Center app, optional if ENV['APP_CENTER_APP_NAME'] is set",
|
42
|
+
optional: false,
|
43
|
+
type: String
|
44
|
+
),
|
45
|
+
FastlaneCore::ConfigItem.new(
|
46
|
+
key: :execution_dir_path,
|
47
|
+
description: 'Release React CLI command execution dir path',
|
48
|
+
optional: true,
|
49
|
+
type: String,
|
50
|
+
default_value: "./"
|
51
|
+
),
|
52
|
+
FastlaneCore::ConfigItem.new(
|
53
|
+
key: :deployment_name,
|
54
|
+
description: 'Deployment name',
|
55
|
+
optional: false,
|
56
|
+
type: String
|
57
|
+
),
|
58
|
+
FastlaneCore::ConfigItem.new(
|
59
|
+
key: :new_deployment_name,
|
60
|
+
description: 'New deployment name',
|
61
|
+
optional: false,
|
62
|
+
type: String
|
63
|
+
),
|
64
|
+
FastlaneCore::ConfigItem.new(
|
65
|
+
key: :dry_run,
|
66
|
+
description: "Print the command that would be run, and don't run it",
|
67
|
+
is_string: false,
|
68
|
+
default_value: false
|
69
|
+
)
|
70
|
+
]
|
71
|
+
end
|
72
|
+
|
73
|
+
def self.is_supported?(platform)
|
74
|
+
true
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require 'fastlane_core/ui/ui'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
UI = FastlaneCore::UI unless Fastlane.const_defined?('UI')
|
5
|
+
|
6
|
+
module Helper
|
7
|
+
class CodepushLoginHelper
|
8
|
+
def self.login(login_token)
|
9
|
+
Action.sh(
|
10
|
+
"appcenter login --token #{login_token}",
|
11
|
+
print_command: false
|
12
|
+
)
|
13
|
+
UI.message("🎉Logged in successfully")
|
14
|
+
rescue StandardError
|
15
|
+
UI.user_error!(
|
16
|
+
"Something went wrong during App Center login!! Please ensure login token #{login_token} is correct"
|
17
|
+
)
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.logout
|
21
|
+
Action.sh("appcenter logout")
|
22
|
+
UI.message("✅Logged out successfully")
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.is_logged_in
|
26
|
+
logged_in = true
|
27
|
+
begin
|
28
|
+
Action.sh(
|
29
|
+
"appcenter profile list",
|
30
|
+
print_command: false
|
31
|
+
)
|
32
|
+
UI.message("User is already logged in")
|
33
|
+
rescue
|
34
|
+
logged_in = false
|
35
|
+
UI.message("User is not logged in")
|
36
|
+
end
|
37
|
+
logged_in
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'fastlane/plugin/codepush/version'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Codepush
|
5
|
+
# Return all .rb files inside the "actions" and "helper" directory
|
6
|
+
def self.all_classes
|
7
|
+
Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
# By default we want to import all available actions and helpers
|
13
|
+
# A plugin can contain any number of actions and plugins
|
14
|
+
Fastlane::Codepush.all_classes.each do |current|
|
15
|
+
require current
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,183 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fastlane-plugin-codepush-fix
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.3
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chin Trinh
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-08-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: pry
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec_junit_formatter
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.49.1
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.49.1
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop-require_tools
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: simplecov
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: fastlane
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 2.141.0
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 2.141.0
|
139
|
+
description:
|
140
|
+
email: chin.trinh@groovetechnology.com
|
141
|
+
executables: []
|
142
|
+
extensions: []
|
143
|
+
extra_rdoc_files: []
|
144
|
+
files:
|
145
|
+
- LICENSE
|
146
|
+
- README.md
|
147
|
+
- lib/fastlane/plugin/codepush.rb
|
148
|
+
- lib/fastlane/plugin/codepush/actions/codepush_add_deployment_action.rb
|
149
|
+
- lib/fastlane/plugin/codepush/actions/codepush_exists_deployment_action.rb
|
150
|
+
- lib/fastlane/plugin/codepush/actions/codepush_get_deployment_key_action.rb
|
151
|
+
- lib/fastlane/plugin/codepush/actions/codepush_list_deployment_action.rb
|
152
|
+
- lib/fastlane/plugin/codepush/actions/codepush_login_action.rb
|
153
|
+
- lib/fastlane/plugin/codepush/actions/codepush_logout_action.rb
|
154
|
+
- lib/fastlane/plugin/codepush/actions/codepush_promote_action.rb
|
155
|
+
- lib/fastlane/plugin/codepush/actions/codepush_release_react_action.rb
|
156
|
+
- lib/fastlane/plugin/codepush/actions/codepush_remove_deployment_action.rb
|
157
|
+
- lib/fastlane/plugin/codepush/actions/codepush_rename_deployment_action.rb
|
158
|
+
- lib/fastlane/plugin/codepush/helper/codepush_login_helper.rb
|
159
|
+
- lib/fastlane/plugin/codepush/version.rb
|
160
|
+
homepage: https://github.com/chintrinh-groove/fastlane-plugin-codepush
|
161
|
+
licenses:
|
162
|
+
- MIT
|
163
|
+
metadata: {}
|
164
|
+
post_install_message:
|
165
|
+
rdoc_options: []
|
166
|
+
require_paths:
|
167
|
+
- lib
|
168
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '0'
|
178
|
+
requirements: []
|
179
|
+
rubygems_version: 3.4.17
|
180
|
+
signing_key:
|
181
|
+
specification_version: 4
|
182
|
+
summary: "Fastlane plugin for App Center CodePush actions \U0001F680"
|
183
|
+
test_files: []
|