fastlane-plugin-yalantis_ci 0.2.0 → 0.2.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
  SHA256:
3
- metadata.gz: 2b102acbcb869c25f9ac8e1bf0daaf14eaa0869cfea5f35722cd809c43db93e5
4
- data.tar.gz: 5ed1edd600a0786ec984bf2fb4ed559879c94238bedcbe677c3b4cf0cd39402f
3
+ metadata.gz: 824efeb7dbfb25d089e7f87ec74dccf0a0451f4bf6dd65b85a2357928418b8a4
4
+ data.tar.gz: 2d3095d62fdc2e23151df489496ee34fd7128b5738c7562d171daf3efaa2b792
5
5
  SHA512:
6
- metadata.gz: efc286c041bcac212cda5c7d4231b139e4793bbfd234f65ac8daca6bd1a8b9ecc95112fba98775f274f584d92dd3f8fdf38a839b1a79cba9014f3a8aa639fdca
7
- data.tar.gz: 61db0ee63e3d0acbe9a0b716196c7707d518ee950c87145858ddf80a71ed0e6ebf33a36160bbb27aaa98159bbf4aaaf37d63981119c3f2dce7f80ba01e0db300
6
+ metadata.gz: 2dd4a93e8aa9ba4e8c7a39ceaeba905301af3cfef76064391bf09f2115564f3fa6048116cefe7716892bd4e89911f7fc0e9d1d87aa531e37cb53b892818bf800
7
+ data.tar.gz: b8580f5767ade909adee2ba9d7eaf37358cb8d9b09864580433cd3d79e66e5e3a036348f8b2d01831c3ff2e515c57380c8c6c7259791df3e6dab8b150c731d3b
@@ -7,7 +7,7 @@ module Fastlane
7
7
  class AppStoreConnectApiKeyAddToRemoteAction < Action
8
8
  def self.run(options)
9
9
  git_repo_url = options[:git_repo_url]
10
- git_repo_branch = 'master'
10
+ git_repo_branch = options[:git_repo_branch]
11
11
  key_filepath = options[:key_filepath]
12
12
  key_id = options[:key_id]
13
13
  key_content = options[:key_content]
@@ -22,7 +22,7 @@ module Fastlane
22
22
  target_filepath = File.join(dir, target_filename)
23
23
 
24
24
  if key_filepath.nil? == false
25
- FileUtils.cp(File.expand(key_filepath), target_filepath)
25
+ FileUtils.cp(File.expand_path(key_filepath), target_filepath)
26
26
  else
27
27
  File.open(target_filepath, 'w') do |file|
28
28
  if is_key_content_base64
@@ -63,6 +63,13 @@ module Fastlane
63
63
  description: "Git repo URL where AppStore Connect's Api Key should be stored in",
64
64
  type: String
65
65
  ),
66
+ FastlaneCore::ConfigItem.new(
67
+ key: :git_repo_branch,
68
+ env_name: "APP_STORE_CONNECT_API_KEY_GIT_REPO_BRANCH",
69
+ description: "Git repo branch where AppStore Connect's Api Key should be stored in",
70
+ type: String,
71
+ default_value: 'master'
72
+ ),
66
73
  FastlaneCore::ConfigItem.new(
67
74
  key: :key_filepath,
68
75
  env_name: "APP_STORE_CONNECT_API_KEY_KEY_FILEPATH",
@@ -7,7 +7,7 @@ module Fastlane
7
7
  class AppStoreConnectApiKeyRemoveFromRemoteAction < Action
8
8
  def self.run(options)
9
9
  git_repo_url = options[:git_repo_url]
10
- git_repo_branch = 'master'
10
+ git_repo_branch = options[:git_repo_branch]
11
11
  key_id = options[:key_id]
12
12
 
13
13
  Helper::GitHelper.clone_repo_in_tmp(git_repo_url, git_repo_branch, false) do |dir|
@@ -42,6 +42,13 @@ module Fastlane
42
42
  description: "Git repo URL where AppStore Connect's Api Key should be stored in",
43
43
  type: String
44
44
  ),
45
+ FastlaneCore::ConfigItem.new(
46
+ key: :git_repo_branch,
47
+ env_name: "APP_STORE_CONNECT_API_KEY_GIT_REPO_BRANCH",
48
+ description: "Git repo branch where AppStore Connect's Api Key should be stored in",
49
+ type: String,
50
+ default_value: 'master'
51
+ ),
45
52
  FastlaneCore::ConfigItem.new(
46
53
  key: :key_id,
47
54
  env_name: "APP_STORE_CONNECT_API_KEY_KEY_ID",
@@ -6,7 +6,7 @@ module Fastlane
6
6
  class AppStoreConnectApiKeySetFromRemoteAction < Action
7
7
  def self.run(options)
8
8
  git_repo_url = options[:git_repo_url]
9
- git_repo_branch = 'master'
9
+ git_repo_branch = options[:git_repo_branch]
10
10
 
11
11
  key_id = options[:key_id]
12
12
  issuer_id = options[:issuer_id]
@@ -48,6 +48,13 @@ module Fastlane
48
48
  description: "Git repo URL where AppStore Connect's Api Key should be stored in",
49
49
  type: String
50
50
  ),
51
+ FastlaneCore::ConfigItem.new(
52
+ key: :git_repo_url,
53
+ env_name: "APP_STORE_CONNECT_API_KEY_GIT_REPO_BRANCH",
54
+ description: "Git repo branch where AppStore Connect's Api Key should be stored in",
55
+ type: String,
56
+ default_value: 'master'
57
+ ),
51
58
  FastlaneCore::ConfigItem.new(
52
59
  key: :key_id,
53
60
  env_name: "APP_STORE_CONNECT_API_KEY_KEY_ID",
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module YalantisCi
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-yalantis_ci
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dima Vorona