fastlane-plugin-android_sdk_update 0.1.0 → 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: a19d6630882705ee00b402ab1b6ab2affa3f9195
4
- data.tar.gz: 81e849a64bbd4cd6332a8f1b09c0aa89b5a63379
3
+ metadata.gz: a3cef8799bcfcf245fd0413d4ec82402f20c890f
4
+ data.tar.gz: 8508aa02a750956763c24ed861b79b8648e3d939
5
5
  SHA512:
6
- metadata.gz: 55f3614bae1815ba4aa45ff1cf1aa4a0d9d492f3d263cda04d69320a5d0e842d99cdf5a083777094f4a61e588e9e61515e3f305ff9fe67dd2680466ac1f1d895
7
- data.tar.gz: bd2ada92b79919b102d3a7de416a9b7ebaec994c43bc92080b18e4cf6c05627f42bf058bef960daf41b0b72c6d8b87a679fd3f94fcc637c5fdb5f9ceab77f53e
6
+ metadata.gz: dbf008f60de30e40903add848d70a8e5d0ee6b380054e2683a49d45b75fd5d84fe05bd7cf173b053b6bdc3f50a57989aa5d49c91d1acd6ed4c8b49980e6528be
7
+ data.tar.gz: cc075a6165536561077242c052eeb7b69c1706d3ba39bc358b5784bf963f40227dee958a8540917f7758badb19c2cbefa36e2668817030b5b286534cec7e7b85
@@ -9,9 +9,9 @@ module Fastlane
9
9
  # Install Android-SDK via brew
10
10
  require 'fastlane/plugin/brew'
11
11
  if FastlaneCore::Helper.mac?
12
- Actions::BrewAction.run(command: "install Caskroom/cask/android-sdk")
12
+ Actions::BrewAction.run(command: "cask ls --versions android-sdk || brew cask install android-sdk")
13
13
  elsif FastlaneCore::Helper.linux?
14
- Actions::BrewAction.run(command: "install android-sdk")
14
+ Actions::BrewAction.run(command: "ls --versions android-sdk || brew install android-sdk")
15
15
  else
16
16
  UI.user_error! 'Your OS is currently not supported.'
17
17
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidSdkUpdate
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-android_sdk_update
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philipp Burgk
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-04-24 00:00:00.000000000 Z
12
+ date: 2017-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: java-properties