fastlane-plugin-emerge 0.10.0 → 0.10.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: 6e0ee7bd40a5841bf9207de85fd19c9f49244b893680e7b60b19c811df754fcd
4
- data.tar.gz: 4a6d7441344186fb1d8623574f732c70aeb25fd57d74ddbe388bf9d4d58e4fb4
3
+ metadata.gz: 02057e8809e34ac67fe9c522e7addd6fc598f94fff4bbe7dd31ba3196b1bde88
4
+ data.tar.gz: 2de7d0f4bac7fc5070f9b40c02c0bd32c8b02cb3034ff40e43515ba2e3474464
5
5
  SHA512:
6
- metadata.gz: 69c76da179be424cd8bd9faab5a0c90762de70bc8e2409e3084fb264b7c1d7a81c95671ff80c5f700ea6e9376f19b000b1e5f4f355cf2d3de74c759eb77290d6
7
- data.tar.gz: 5a2c4c637ac3fc26abb5bb201178e56bd3bf0271f8eac43967074c07fe5f4bf93247c33c6947e7fb3f09dbc7806f2a8270d4a8c2a20f848edb9a959ad91f5ff0
6
+ metadata.gz: 89ba8a527a601d2b89fd022a195bdba4cc2d7bdc6328e4f99acc723c33f0eca0e03874b53c0aa2cf3f3603d5c758abbd0c9ef95d93613698815bb8ba1e346789
7
+ data.tar.gz: 3a962e586922ec8bae718875b47a8c37d4630838f5999311df4085659d26aa18434210b38fc8ded955870cdae3c96a4ddfa3a976d9f45339c033430453e90d78
@@ -33,9 +33,10 @@ module Fastlane
33
33
  UI.error("Invalid input file")
34
34
  return
35
35
  end
36
+ extension = File.extname(file_path)
36
37
 
37
38
  # If the user provided a .app we will look for dsyms and package it into a zipped xcarchive
38
- if File.extname(file_path) == '.app'
39
+ if extension == '.app'
39
40
  absolute_path = Pathname.new(File.expand_path(file_path))
40
41
  UI.message("A .app was provided, dSYMs will be looked for in #{absolute_path.dirname}")
41
42
  Dir.mktmpdir do |d|
@@ -64,7 +65,7 @@ module Fastlane
64
65
  )
65
66
  UI.message("Archive generated at #{file_path}")
66
67
  end
67
- elsif File.extname(file_path) == '.xcarchive'
68
+ elsif extension == '.xcarchive'
68
69
  zip_path = file_path + ".zip"
69
70
  if params[:linkmaps] && params[:linkmaps].length > 0
70
71
  linkmap_folder = "#{file_path}/Linkmaps/"
@@ -81,9 +82,9 @@ module Fastlane
81
82
  include: []
82
83
  )
83
84
  file_path = zip_path
84
- elsif File.extname(file_path) == '.zip' && params[:linkmaps] && params[:linkmaps].length > 0
85
- UI.error("Provided zipped archive and linkmaps, linkmaps will not be added to zip.")
86
- elsif File.extname(file_path) != '.zip'
85
+ elsif (extension == '.zip' || extension == '.ipa') && params[:linkmaps] && params[:linkmaps].length > 0
86
+ UI.error("Provided #{extension == '.zip' ? 'zipped archive' : 'ipa'} and linkmaps, linkmaps will not be added to upload.")
87
+ elsif extension != '.zip' && extension != '.ipa'
87
88
  UI.error("Invalid input file")
88
89
  return
89
90
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Emerge
3
- VERSION = "0.10.0"
3
+ VERSION = "0.10.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-emerge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emerge Tools, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-27 00:00:00.000000000 Z
11
+ date: 2024-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0'
188
188
  requirements: []
189
- rubygems_version: 3.3.25
189
+ rubygems_version: 3.2.3
190
190
  signing_key:
191
191
  specification_version: 4
192
192
  summary: Fastlane plugin for Emerge