fastlane-plugin-applivery 1.0 → 1.1

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: 895250d53aaf099a8cfccf51232cb63bcb8b56fc
4
- data.tar.gz: 656518136abdabdbed4558adf86fad9d509f139b
3
+ metadata.gz: 694da3223547e78c1679e59c3bcb793114f5993a
4
+ data.tar.gz: 20ec53551af54d699b74e06c3393c6d7381da2c3
5
5
  SHA512:
6
- metadata.gz: 89653f3259fa0def93ba5e69bc22728f0696f3f78df54470f98e40306b1e11c146ed7f86c5d96a24fc6960d622e173c472d62d23bb06b8b181969928e2d090ee
7
- data.tar.gz: 6ed4a7e3d1f088332f5524cc7fda63735765c4ea1145ad14b0d8700a54a5e63dc0de08f876da15abeba6b64ae628c876b3598b0cad2bd2241a22b81670217907
6
+ metadata.gz: 25b0f1fec56f8cb3d17f53f3c5e80ad82202efe4003e84215225dc5eaa0de4c597e21757ad69c6af38a6934fbb89754fdee331bf95d5e374b1218bf236728ce5
7
+ data.tar.gz: fbce9fe9bc31195abd9e3c2147958b4755df7f1e7bbf93748ba1c3e33df20b615eaa7923411732f15407e1be00936aea3df111fa2b3d5770982a402cb77a3ebe
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # applivery plugin
1
+ # Fastlane Applivery plugin
2
2
 
3
3
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-applivery)
4
4
  [![Gem Version](https://badge.fury.io/rb/fastlane-plugin-applivery.svg)](https://badge.fury.io/rb/fastlane-plugin-applivery)
@@ -11,15 +11,62 @@ This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To ge
11
11
  fastlane add_plugin applivery
12
12
  ```
13
13
 
14
- ## About applivery
14
+ ## About Applivery.com
15
15
 
16
- Upload new build to Applivery
16
+ With [Applivery.com](https://www.applivery.com) you can easily distribute your iOS and Android Apps throughout a customizable platform with no need of your users have to be registered on it.
17
17
 
18
+ **The main purpose of this plugin is to upload a new iOS or Android build to [Applivery.com](https://www.applivery.com).**
18
19
 
19
- ## Example
20
+ If you usually use Fastlane tools to automate the most common development tasks now you can start using out Fastlane Plugin to easily deploy new iOS and Android versions of your Apps to Applivery and close your development the cycle: Build, Test & deploy like a pro!
20
21
 
21
- 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 test`.
22
+ This **fastlane** plugin will also help you to have more context about the build, attaching and displaying the most relevant information: Direct link to the repository(GitHub & Bitbucket), commit hash, Branch, Tag, etc:
22
23
 
24
+ ![List of builds](http://www.applivery.com/wp-content/uploads/2016/08/BuildsList.png)
25
+ ![Build details](http://www.applivery.com/wp-content/uploads/2016/08/BuilInfo.png)
26
+
27
+ ## Examples
28
+
29
+ Below you'll find some basic examples about how to **build** a new iOS or Android App and automatically **deploy** it into Applivery.com
30
+
31
+ ### iOS App build and deploy
32
+ Next you'll find a `lane` with two steps: `gym()` that will build the iOS App and `applivery()` that will take care about the deployment.
33
+ ```ruby
34
+ lane :applivery_ios do
35
+ gym(
36
+ scheme: "YOUR_APP_SCHEME", # Your App Scheme
37
+ export_method: 'enterprise') # Choose between: enterprise or ad-hoc
38
+ applivery(
39
+ app_id: "YOUR_APP_ID", # Your Applivery App Id
40
+ api_key: "YOUR_API_KEY" # Your Applivery API Key
41
+ )
42
+ end
43
+ ```
44
+ ### Android App build and deploy
45
+ Next you'll find a `lane` with two steps: `gradle()` that will build the Android App and `applivery()` that will take care about the deployment.
46
+ ```ruby
47
+ lane :applivery_android do
48
+ gradle(task: "assembleRelease")
49
+ applivery(
50
+ app_id: "YOUR_APP_ID", # Your Applivery App Id
51
+ api_key: "YOUR_API_KEY" # Your Applivery API Key
52
+ )
53
+ end
54
+ ```
55
+ Please check out the [example `Fastfile`](fastlane/Fastfile) to see additional examples of how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
56
+
57
+ ## Additional Parameters
58
+ The above examples are the most simple configuration you can have but in addition to the `app_id` and `api_key` parameters, you can add additional ones to fully customize the deployment process. They are:
59
+
60
+ | Param | Description | Mandatory | Values |
61
+ |-------------|-----------------------------|-----------|--------------|
62
+ | `app_id` | Applivery App ID | YES | string -> Available in the App details |
63
+ | `api_key` | Applivery API Key | YES | string -> Available the [Developers](https://dashboard.applivery.com/dashboard/developers) area |
64
+ | `name` | Applivery Build name | NO | string. i.e.: "RC 1.0" |
65
+ | `notify` | Notify users after deploy | NO | true / false |
66
+ | `notes` | Release notes | NO | string. i.e.: "Bug fixing" |
67
+ | `tags` | Tags to identify the build | NO | string comma separated. i.e.: "RC1, QA" |
68
+ | `autoremove`| Remove the last build | NO | true / false |
69
+ | `build_path`| Build path to the APK / IPA file | NO | string, by default it takes the IPA/APK build path |
23
70
 
24
71
  ## Run tests for this plugin
25
72
 
@@ -36,7 +83,7 @@ rubocop -a
36
83
 
37
84
  ## Issues and Feedback
38
85
 
39
- For any other issues and feedback about this plugin, please submit it to this repository.
86
+ For any other issues and feedback about this plugin, please submit it to this repository or contact us at [support@applivery.com](mailto:support@applivery.com)
40
87
 
41
88
  ## Troubleshooting
42
89
 
@@ -10,6 +10,7 @@ module Fastlane
10
10
  tags = params[:tags]
11
11
  build_path = params[:build_path]
12
12
  notify = params[:notify]
13
+ autoremove = params[:autoremove]
13
14
  os = Helper::AppliveryHelper.platform
14
15
 
15
16
  command = "curl \"https://dashboard.applivery.com/api/builds\""
@@ -18,6 +19,7 @@ module Fastlane
18
19
  command += " -F versionName=\"#{name}\""
19
20
  command += " -F notes=\"#{notes}\""
20
21
  command += " -F notify=#{notify}"
22
+ command += " -F autoremove=#{autoremove}"
21
23
  command += " -F os=#{os}"
22
24
  command += " -F tags=\"#{tags}\""
23
25
  command += " -F deployer=fastlane"
@@ -91,6 +93,13 @@ module Fastlane
91
93
  description: "Send an email to your users",
92
94
  default_value: true,
93
95
  optional: true,
96
+ is_string: false),
97
+
98
+ FastlaneCore::ConfigItem.new(key: :autoremove,
99
+ env_name: "APPLIVERY_AUTOREMOVE",
100
+ description: "Automatically remove your application's oldest build",
101
+ default_value: true,
102
+ optional: true,
94
103
  is_string: false)
95
104
  ]
96
105
  end
@@ -111,8 +120,7 @@ module Fastlane
111
120
  [
112
121
  'applivery(
113
122
  app_id: "YOUR_APP_ID",
114
- api_key: "YOUR_APP_SECRET",
115
- name: "YOUR_BUILD_NAME")'
123
+ api_key: "YOUR_APP_SECRET")'
116
124
  ]
117
125
  end
118
126
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Applivery
3
- VERSION = "1.0"
3
+ VERSION = "1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-applivery
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alejandro Jimenez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-23 00:00:00.000000000 Z
11
+ date: 2016-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry