fastlane-plugin-bundletool 1.0.0 → 1.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 163f2ddba8e6f8c3aba41b8310aa832d672dd3b93131b1aa3f7accb588721978
4
- data.tar.gz: a6cd88f56cea3a410019d6d79f9e437d5d0c92ecbcae556adf506dc1dcfaf693
3
+ metadata.gz: 9167816675321e0df8072fa9985ae92c7e6f15183448f4d58f92fbb70d6ed4f3
4
+ data.tar.gz: 4bf2737f7fb716a5d33fbac639e114ef358369e0821f386ce20fa9e36caac608
5
5
  SHA512:
6
- metadata.gz: c178cd9227ccd548eb83502e68e1283655e288a59d2a5c9ee64bba0b1303d3b48991643b92c4dc51d40d916fca3d078e3c838111cc3cee3a5f7ecfcf86584948
7
- data.tar.gz: 533afee2b9cc30b48e5c57585a68845ee646c11b9b75b6e6d712b5b09b917b51810ce30661bd6691b070fd250c76054388c4e00b14d16e826ab7704821e33a49
6
+ metadata.gz: d9c86e85b5e4b673fc3239bcb59c1dc5d6a33e160f761bebd4a6fb4496833adcbf6617ebad992e0538c5b8e000ee0989910f31959935ebbd73d93ef62944f6ed
7
+ data.tar.gz: 618b0343feb2e6d652f2ba03ebcfc35e01d475756d5a8028161371cc7d7a27b4b1ff9773925e3eb13c985fce1f097bca4e93e12031c72f0c602455d27250e8e5
@@ -43,7 +43,7 @@ module Fastlane
43
43
  end
44
44
  puts_success('Downloading bundletool')
45
45
  rescue StandardError => e
46
- puts_error!("Something went wrong when downloading bundletool version #{version}")
46
+ puts_error!("Something went wrong when downloading bundletool version #{version}. \nError message\n #{e.message}")
47
47
  end
48
48
  end
49
49
 
@@ -53,8 +53,8 @@ module Fastlane
53
53
  apk_output_absolute_path = Pathname.new(File.expand_path(apk_output_path)).to_s
54
54
  output_path = run_bundletool!(aab_absolute_path, keystore_info)
55
55
  prepare_apk!(output_path, apk_output_absolute_path)
56
- rescue StandardError => e
57
- puts_error!("Bundletool could not extract universal apk from aab at #{aab_absolute_path}")
56
+ rescue StandardError => e
57
+ puts_error!("Bundletool could not extract universal apk from aab at #{aab_absolute_path}. \nError message\n #{e.message}")
58
58
  ensure
59
59
  clean_temp!
60
60
  end
@@ -91,8 +91,8 @@ module Fastlane
91
91
  puts_important("Apk at path #{target_path} exists. Replacing it.") if File.file?(target_path)
92
92
  target_dir_name = File.dirname(target_path)
93
93
  unless Dir.exist?(target_dir_name)
94
- puts_important("Creating path #{target_path} since does not exist")
95
- Dir.mkdir target_dir_name
94
+ puts_important("Creating path #{target_dir_name} since does not exist")
95
+ FileUtils.mkdir_p target_dir_name
96
96
  end
97
97
  cmd = "mv #{output_path} #{@bundletool_temp_path}/output.zip &&
98
98
  unzip #{@bundletool_temp_path}/output.zip -d #{@bundletool_temp_path} &&
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Bundletool
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-bundletool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Gonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-09 00:00:00.000000000 Z
11
+ date: 2020-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry