fastlane-plugin-applivery 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/fastlane/plugin/applivery/actions/applivery_action.rb +18 -10
- data/lib/fastlane/plugin/applivery/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eeb72b8d3daf3449ac5684062c947a5bd5432de9
|
4
|
+
data.tar.gz: 13461db1eb98d957b2e427d2f15a1c72b0a86127
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a99dd2291e5cf677fb9f48568d0bb6b7d5bb5418c1e88880d28b44e0b53f71adb2a167ef1335e2ad054f3d9bf9c44cebdce6ce85990d0802bd5fee588cc3709f
|
7
|
+
data.tar.gz: 27adb793e68033dab1d9d2b3aa84a1c98c31d047ac4f8c67fa9e2abe0bda998b6f9991ce27b522591e352b3a226703b6902e053ba119a4ec4a2ae47667500cf0
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# 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
|
+
[![Gem Version](https://badge.fury.io/rb/fastlane-plugin-applivery.svg)](https://badge.fury.io/rb/fastlane-plugin-applivery)
|
4
5
|
|
5
6
|
## Getting Started
|
6
7
|
|
@@ -9,20 +9,28 @@ module Fastlane
|
|
9
9
|
tags = params[:tags]
|
10
10
|
build_path = params[:build_path]
|
11
11
|
|
12
|
-
|
13
|
-
UI.message("App id: \"#{app_id}\"")
|
14
|
-
UI.message("Api key: \"#{api_key}\"")
|
15
|
-
UI.message("Build name: \"#{name}\"")
|
16
|
-
UI.message("Build notes: \"#{notes}\"")
|
17
|
-
UI.message("Build tags: \"#{tags}\"")
|
18
|
-
UI.message("Build path: \"#{build_path}\"")
|
12
|
+
platform = Actions.lane_context[Actions::SharedValues::PLATFORM_NAME]
|
19
13
|
|
20
|
-
|
14
|
+
if platform == :ios or platform.nil?
|
15
|
+
os = "ios"
|
16
|
+
end
|
21
17
|
|
22
|
-
|
23
|
-
|
18
|
+
if platform == :android
|
19
|
+
os = "android"
|
20
|
+
end
|
24
21
|
|
22
|
+
command = "curl \"https://dashboard.applivery.com/api/builds\""
|
23
|
+
command += " -H \"Authorization: #{api_key}\""
|
24
|
+
command += " -F app='#{app_id}'"
|
25
|
+
command += " -F versionName='#{name}'"
|
26
|
+
command += " -F notes='#{notes}'"
|
27
|
+
command += " -F notify='true'"
|
28
|
+
command += " -F os=#{os}"
|
29
|
+
command += " -F tags='#{tags}'"
|
30
|
+
command += " -F package=@'#{build_path}'"
|
25
31
|
|
32
|
+
UI.message(command)
|
33
|
+
Actions.sh(command)
|
26
34
|
end
|
27
35
|
|
28
36
|
def self.description
|
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: 0.
|
4
|
+
version: 0.2.0
|
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-07-
|
11
|
+
date: 2016-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|