fastlane-plugin-sapfire 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: 8e3383a3f917a4dba8d2c43dfdbbf597d1f29e6770d4f6f799b8fc1725a056b5
4
- data.tar.gz: 69ab3275172df5edcecc365f8202f40c145d31bb690cf7a8e8a322d9499ee526
3
+ metadata.gz: 83e4b1ff7c0fca7fdcdb13bc0fa2484938fe44709b1c49747d3c96705abf9b19
4
+ data.tar.gz: '06290bdcef920e70d70c585a590214b52ac57ffe0b848dfc834eab83c849d0e8'
5
5
  SHA512:
6
- metadata.gz: 79f0683b16c2684293d88eaa4a1b4d0327034120e4af61cc7903a28359d6eb217eceb6a5a1f1467b7dab2b38ddb20b7b5c01d1970d32ad3e402cf1a6c16a0275
7
- data.tar.gz: f45c506a139c7020e5eac351b8884c46a5258a43c92968436bc36c28832cd570b461dc5d3813d9d0c3816e6999d3548d06917bc45e0e07ecdf1acfd246e36bfb
6
+ metadata.gz: 36d64df547ea0950982cb0e443b18fbf0fa59823d877d6477b190759273b500cc3a35a6d4987b6eb2e4cc20c1ff5d8a8e5054a370f97f9e1ac0a402b67d3510f
7
+ data.tar.gz: 50bcdd682ce458abbca40c04d3fa7199d75d39429565f522b02688d3e452537155509138d7cdd555e19abd280dabbdaea8238d27563165b125240bcbcda9b570
data/README.md CHANGED
@@ -5,8 +5,19 @@
5
5
  </p>
6
6
 
7
7
  # Sapfire
8
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
9
- ![GitHub release (latest by date)](https://img.shields.io/github/v/release/CheeryLee/fastlane-plugin-sapfire?display_name=tag)
8
+
9
+ <p align="center">
10
+ <a href="https://opensource.org/licenses/MIT">
11
+ <img alt="Gem" src="https://img.shields.io/badge/License-MIT-yellow.svg">
12
+ </a>
13
+ <a href="https://github.com/CheeryLee/fastlane-plugin-sapfire/releases">
14
+ <img alt="Gem" src="https://img.shields.io/github/v/release/CheeryLee/fastlane-plugin-sapfire?display_name=tag">
15
+ </a>
16
+ <a href="https://rubygems.org/gems/fastlane-plugin-sapfire">
17
+ <img alt="Gem" src="https://badge.fury.io/rb/fastlane-plugin-sapfire.svg">
18
+ </a>
19
+ <img alt="Gem" src="https://img.shields.io/gem/dt/fastlane-plugin-sapfire">
20
+ </p>
10
21
 
11
22
  <br/>
12
23
  <p align="center">An incredibly simple and fast way to automate building and deployment <b>Visual C++</b>, <b>.NET</b> and <b>UWP</b> apps</p>
@@ -150,16 +150,15 @@ module Msbuild
150
150
  appx_output_path = "./" if appx_output_path.nil? || appx_output_path.empty?
151
151
 
152
152
  Msbuild::Options::PACKAGE_FORMATS.each do |extension|
153
- entries = Dir.entries(appx_output_path).find_all { |x| x.end_with?(extension) }
153
+ entries = Dir.glob("#{appx_output_path}/**/*").find_all { |x| x.end_with?(extension) }
154
154
  next if entries.nil? || entries.empty?
155
155
 
156
- old_name = entries[0]
157
- new_name = "#{appx_output_name}#{extension}"
158
-
159
- UI.message("Rename #{old_name} to #{new_name}")
160
- File.rename(File.join(appx_output_path, old_name), File.join(appx_output_path, new_name))
156
+ entries.each do |entry|
157
+ new_name = File.join(File.dirname(entry), "#{appx_output_name}#{extension}")
158
+ UI.message("Rename #{entry} to #{new_name}")
159
+ File.rename(entry, new_name)
160
+ end
161
161
  end
162
-
163
162
  end
164
163
 
165
164
  public(:run)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Sapfire
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-sapfire
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
  - CheeryLee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-22 00:00:00.000000000 Z
11
+ date: 2023-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday