fastlane-plugin-polidea 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +48 -22
- data/lib/fastlane/plugin/polidea/actions/extract_app_name.rb +1 -1
- data/lib/fastlane/plugin/polidea/actions/extract_version.rb +1 -1
- data/lib/fastlane/plugin/polidea/actions/mailgun.rb +1 -1
- data/lib/fastlane/plugin/polidea/actions/polidea_store_action.rb +7 -7
- data/lib/fastlane/plugin/polidea/actions/s3.rb +0 -12
- data/lib/fastlane/plugin/polidea/version.rb +1 -1
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 924b2d5c248bb384c9da36e54d0ddcc565f8e9f4
|
4
|
+
data.tar.gz: 1d8d2ca64f0299184b830e7a97e2c3eaf0f05dbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a87b1a8ee823256e8ad05c96967eb6507ea3c178ffbb7aadb9555e5c7ceeaed7b81313a66c09d2d09ef5e4b9f46bb5978c5011b454b84767a1e71258d483e635
|
7
|
+
data.tar.gz: 85b160c57302de266578bab478a2028ec877b2ab1f3f5fe5dc7882a57f8a1d35d3bc8a4dbf297015fe07730deac91e4612c4022ef28ad40a5d1cc57006485085
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
# polidea
|
1
|
+
# fastlane-plugin-polidea
|
2
|
+
|
3
|
+
[![build status](https://gitlab2.polidea.com/CI/fastlane-plugin-polidea/badges/master/build.svg)](https://gitlab2.polidea.com/CI/fastlane-plugin-polidea)
|
4
|
+
[![Gem](https://img.shields.io/gem/v/fastlane-plugin-polidea.svg?style=flat)](http://rubygems.org/gems/fastlane-plugin-polidea)
|
2
5
|
|
3
|
-
[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-polidea)
|
4
6
|
|
5
7
|
## Getting Started
|
6
8
|
|
@@ -10,34 +12,43 @@ This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To ge
|
|
10
12
|
fastlane add_plugin polidea
|
11
13
|
```
|
12
14
|
|
13
|
-
##
|
15
|
+
## Available actions
|
14
16
|
|
15
|
-
|
17
|
+
Plugin contains following actions:
|
18
|
+
- `extract_app_name`: Extracts application name from .apk/.ipa
|
19
|
+
- `extract_app_icon`: Extracts largest icon from .ipa/.apk
|
20
|
+
- `extract_version`: Extracts app version and build number from .ipa/.apk
|
21
|
+
- `get_binary_size`: Measures binary size in bytes
|
22
|
+
- `s3`: Custom version of s3 action with Polidea's installation page
|
23
|
+
- `mailgun`: Custom version of mailgun action with Polidea's mail template
|
24
|
+
- `polidea_store`: Notifies Polidea Store about new app version
|
16
25
|
|
17
|
-
|
26
|
+
See more details [here](https://gitlab2.polidea.com/CI/fastlane-plugin-polidea/blob/master/docs/Actions.md).
|
27
|
+
To list all available actions run:
|
28
|
+
```bash
|
29
|
+
fastlane actions
|
30
|
+
```
|
18
31
|
|
19
32
|
## Example
|
20
33
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
```
|
35
|
-
rubocop -a
|
34
|
+
```ruby
|
35
|
+
lane :deploy do
|
36
|
+
(some actions that produces .ipa/.apk)
|
37
|
+
extract_app_name
|
38
|
+
extract_app_icon
|
39
|
+
extract_version
|
40
|
+
get_binary_size
|
41
|
+
s3
|
42
|
+
polidea_store
|
43
|
+
mailgun(
|
44
|
+
to: "piotr.dubiel@polidea.com"
|
45
|
+
)
|
46
|
+
end
|
36
47
|
```
|
37
48
|
|
38
|
-
|
49
|
+
Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane [android|ios] test`.
|
39
50
|
|
40
|
-
|
51
|
+
**Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
|
41
52
|
|
42
53
|
## Troubleshooting
|
43
54
|
|
@@ -50,3 +61,18 @@ For more information about how the `fastlane` plugin system works, check out the
|
|
50
61
|
## About `fastlane`
|
51
62
|
|
52
63
|
`fastlane` is the easiest way to automate building and releasing your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
|
64
|
+
|
65
|
+
## Development
|
66
|
+
|
67
|
+
### Run tests for this plugin
|
68
|
+
|
69
|
+
To run both the tests, and code style validation, run
|
70
|
+
|
71
|
+
```
|
72
|
+
rake
|
73
|
+
```
|
74
|
+
|
75
|
+
To automatically fix many of the styling issues, use
|
76
|
+
```
|
77
|
+
rubocop -a
|
78
|
+
```
|
@@ -36,7 +36,7 @@ module Fastlane
|
|
36
36
|
env_name: "MAILGUN_FROM",
|
37
37
|
optional: true,
|
38
38
|
description: "Mailgun sender name",
|
39
|
-
default_value: "
|
39
|
+
default_value: "Polidea Store"),
|
40
40
|
FastlaneCore::ConfigItem.new(key: :success,
|
41
41
|
env_name: "MAILGUN_SUCCESS",
|
42
42
|
description: "Was this build successful? (true/false)",
|
@@ -82,36 +82,36 @@ module Fastlane
|
|
82
82
|
optional: true),
|
83
83
|
FastlaneCore::ConfigItem.new(key: :app_name,
|
84
84
|
env_name: "",
|
85
|
-
description: "Application name (defaults to
|
85
|
+
description: "Application name (defaults to results of extract_app_name action)",
|
86
86
|
is_string: true,
|
87
87
|
optional: true),
|
88
88
|
FastlaneCore::ConfigItem.new(key: :bundle_id,
|
89
89
|
env_name: "",
|
90
|
-
description: "Bundle id",
|
90
|
+
description: "Bundle id, used if platform equals :ios",
|
91
91
|
is_string: true,
|
92
92
|
optional: true),
|
93
93
|
FastlaneCore::ConfigItem.new(key: :bundle_version,
|
94
94
|
env_name: "",
|
95
|
-
description: "Bundle version
|
95
|
+
description: "Bundle version, used if platform equals :ios",
|
96
96
|
is_string: true,
|
97
97
|
optional: true),
|
98
98
|
FastlaneCore::ConfigItem.new(key: :package_name,
|
99
99
|
env_name: "",
|
100
|
-
description: "Package name",
|
100
|
+
description: "Package name, used if platform equals :android",
|
101
101
|
is_string: true,
|
102
102
|
optional: true),
|
103
103
|
FastlaneCore::ConfigItem.new(key: :version_name,
|
104
104
|
env_name: "",
|
105
|
-
description: "Version name",
|
105
|
+
description: "Version name, used if platform equals :android",
|
106
106
|
is_string: true,
|
107
107
|
optional: true),
|
108
108
|
FastlaneCore::ConfigItem.new(key: :version_code,
|
109
109
|
env_name: "",
|
110
|
-
description: "Version code",
|
110
|
+
description: "Version code, used if platform equals :android",
|
111
111
|
type: Fixnum,
|
112
112
|
optional: true),
|
113
113
|
FastlaneCore::ConfigItem.new(key: :binary_size,
|
114
|
-
env_name: "
|
114
|
+
env_name: "",
|
115
115
|
description: ".ipa/.apk binary size in bytes",
|
116
116
|
type: Fixnum,
|
117
117
|
optional: true)
|
@@ -24,7 +24,6 @@ module Fastlane
|
|
24
24
|
bucket: '-b',
|
25
25
|
region: '-r',
|
26
26
|
acl: '--acl',
|
27
|
-
source: '--source-dir',
|
28
27
|
path: '-P'
|
29
28
|
}
|
30
29
|
|
@@ -43,8 +42,6 @@ module Fastlane
|
|
43
42
|
params[:bucket] = config[:bucket]
|
44
43
|
params[:region] = config[:region]
|
45
44
|
params[:acl] = config[:acl]
|
46
|
-
params[:source] = config[:source]
|
47
|
-
params[:path] = config[:path]
|
48
45
|
params[:upload_metadata] = config[:upload_metadata]
|
49
46
|
params[:plist_template_path] = config[:plist_template_path]
|
50
47
|
params[:html_template_path] = config[:html_template_path]
|
@@ -507,15 +504,6 @@ module Fastlane
|
|
507
504
|
description: "AWS region (for bucket creation) ",
|
508
505
|
optional: true,
|
509
506
|
default_value: ENV['AWS_REGION']),
|
510
|
-
FastlaneCore::ConfigItem.new(key: :path,
|
511
|
-
env_name: "S3_PATH",
|
512
|
-
description: "S3 'path'. Values from Info.plist will be substituded for keys wrapped in {} ",
|
513
|
-
optional: true,
|
514
|
-
default_value: '{CFBundleName}/ios/{CFBundleShortVersionString}_{CFBundleVersion}/'),
|
515
|
-
FastlaneCore::ConfigItem.new(key: :source,
|
516
|
-
env_name: "S3_SOURCE",
|
517
|
-
description: "Optional source directory e.g. ./build ",
|
518
|
-
optional: true),
|
519
507
|
FastlaneCore::ConfigItem.new(key: :acl,
|
520
508
|
env_name: "S3_ACL",
|
521
509
|
description: "Uploaded object permissions e.g public_read (default), private, public_read_write, authenticated_read ",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-polidea
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotrek Dubiel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: plist
|
@@ -100,20 +100,6 @@ dependencies:
|
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0.7'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: pry
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '0'
|
117
103
|
- !ruby/object:Gem::Dependency
|
118
104
|
name: bundler
|
119
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -316,7 +302,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
316
302
|
version: '0'
|
317
303
|
requirements: []
|
318
304
|
rubyforge_project:
|
319
|
-
rubygems_version: 2.
|
305
|
+
rubygems_version: 2.6.6
|
320
306
|
signing_key:
|
321
307
|
specification_version: 4
|
322
308
|
summary: Polidea's fastlane action
|