fastlane-plugin-match_keystore 0.1.6 → 0.1.7

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: ebd9b1458de12f0fbb8b468d79442ee341944409847c9f216cb04209930d9b15
4
- data.tar.gz: 7539e1e186f06a3a43343a17cd7a584e0471ae3e812f75b9b53563bd7c8e8763
3
+ metadata.gz: 3cf1cf5e0df1d941bd776ab65ad5bccf1ef4059a07fcbd31040ccc0cd988332e
4
+ data.tar.gz: 9bd6479f34526a30974d7a4a65874be1a9232c967facff8b0f09b8f624c91314
5
5
  SHA512:
6
- metadata.gz: 705abd50aa3502788519a81b51df38a6b6859b33cf2e4939f155eebda99ae1126e5be0f21426f158895cd19983d25dc017d499cf755a765de7abb3368b3b8ff6
7
- data.tar.gz: a86e82117bcdf635a6a9253cdd6f89f1cfe223e57f95d43f816c200ff4a9b5b2c6e91396526dc1b9d08f30f8c35e9f8f9a4f3dfba432a787f20fb51c0a3da2f0
6
+ metadata.gz: 5b20f9c4d03b4a6ba7e733007bdc5d55103c9bce852c83e438bb0177ed30636b9feaa28fee2da68e80a4ab2bc95a47c574e41fafc56915383926e451b2fb46ee
7
+ data.tar.gz: b25983d059e338fd93d582292e02c87ff154179872a1944dd9b465365fbd181bb26d8e02e409b204a2bba5bd322985acd58fc92983a22e6e153a9ea1df748997
@@ -1,5 +1,6 @@
1
1
  require 'fastlane/action'
2
2
  require 'fileutils'
3
+ require 'os'
3
4
  require_relative '../helper/match_keystore_helper'
4
5
 
5
6
  module Fastlane
@@ -54,7 +55,11 @@ module Fastlane
54
55
 
55
56
  def self.gen_key(key_path, password)
56
57
  `rm -f #{key_path}`
57
- `echo "#{password}" | openssl dgst -sha512 | cut -c1-128 > #{key_path}`
58
+ if OS.mac?
59
+ `echo "#{password}" | openssl dgst -sha512 | cut -c1-128 > #{key_path}`
60
+ else
61
+ `echo "#{password}" | openssl dgst -sha512 | awk '{print $2}' | cut -c1-128 > #{key_path}`
62
+ end
58
63
  end
59
64
 
60
65
  def self.encrypt_file(clear_file, encrypt_file, key_path)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module MatchKeystore
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-match_keystore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher NEY