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 +4 -4
- data/lib/fastlane/plugin/yalantis_ci/actions/app_store_connect_api_key_add_to_remote.rb +9 -2
- data/lib/fastlane/plugin/yalantis_ci/actions/app_store_connect_api_key_remove_from_remote.rb +8 -1
- data/lib/fastlane/plugin/yalantis_ci/actions/app_store_connect_api_key_set_from_remote.rb +8 -1
- data/lib/fastlane/plugin/yalantis_ci/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 824efeb7dbfb25d089e7f87ec74dccf0a0451f4bf6dd65b85a2357928418b8a4
|
4
|
+
data.tar.gz: 2d3095d62fdc2e23151df489496ee34fd7128b5738c7562d171daf3efaa2b792
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 =
|
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.
|
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",
|
data/lib/fastlane/plugin/yalantis_ci/actions/app_store_connect_api_key_remove_from_remote.rb
CHANGED
@@ -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 =
|
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 =
|
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",
|