fastlane-plugin-yalantis_ci 0.2.1 → 0.2.6

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: 824efeb7dbfb25d089e7f87ec74dccf0a0451f4bf6dd65b85a2357928418b8a4
4
- data.tar.gz: 2d3095d62fdc2e23151df489496ee34fd7128b5738c7562d171daf3efaa2b792
3
+ metadata.gz: 6ba1e6dc0a29a4250e05364a8b7f00cd51738e062f829aa71d99496b6e2bee8b
4
+ data.tar.gz: d6a6be86add42155e6b9d1cb833250b79b123159003073c0354390baed66e462
5
5
  SHA512:
6
- metadata.gz: 2dd4a93e8aa9ba4e8c7a39ceaeba905301af3cfef76064391bf09f2115564f3fa6048116cefe7716892bd4e89911f7fc0e9d1d87aa531e37cb53b892818bf800
7
- data.tar.gz: b8580f5767ade909adee2ba9d7eaf37358cb8d9b09864580433cd3d79e66e5e3a036348f8b2d01831c3ff2e515c57380c8c6c7259791df3e6dab8b150c731d3b
6
+ metadata.gz: 67f65a3e164ed66b62569b0874ad2c14c0b6b6d955c2fc32bccd4b8295e38309acdb24279032e1e687d044929de9dd1f3dd6674b528a07c0d271e7d26b3bc33e
7
+ data.tar.gz: 22f3cdbff0c34efc462b7fa895aac4fa0f435234220ce139af46a5dc06e877ffc6b57a9004b0e95718f9a204781200a0bc4e44fdcc56798e115ad6b94ca76de7
@@ -49,7 +49,7 @@ module Fastlane
49
49
  type: String
50
50
  ),
51
51
  FastlaneCore::ConfigItem.new(
52
- key: :git_repo_url,
52
+ key: :git_repo_branch,
53
53
  env_name: "APP_STORE_CONNECT_API_KEY_GIT_REPO_BRANCH",
54
54
  description: "Git repo branch where AppStore Connect's Api Key should be stored in",
55
55
  type: String,
@@ -71,12 +71,18 @@ module Fastlane
71
71
  # We need to setup a unique name for Match Repo to not interfere with any other
72
72
  # project. Project name includes normalized xcodeproj name and team id.
73
73
  # This ensures that same project can use different teams simultaniously.
74
- UI.message("Setting Match repo branch to: \"#{branch_name}\"")
75
- ENV['MATCH_GIT_BRANCH'] = branch_name
74
+ if ENV['MATCH_GIT_BRANCH'].nil?
75
+ UI.message("Setting Match repo branch to: \"#{branch_name}\"")
76
+ ENV['MATCH_GIT_BRANCH'] = branch_name
77
+ else
78
+ UI.message("Skipping Match being set to: \"#{ENV['MATCH_GIT_BRANCH']}\"")
79
+ end
76
80
  end
77
81
 
78
82
  def self.setup_temp_keychain(id)
79
- name = "#{id}-fastlane"
83
+ job_id = ENV['CI_JOBENV_ID'] || ''
84
+
85
+ name = "#{id}-#{job_id}-fastlane"
80
86
  password = "#{name}-password"
81
87
  path = File.expand_path("~/Library/Keychains/#{name}.keychain-db")
82
88
 
@@ -94,7 +100,7 @@ module Fastlane
94
100
  end
95
101
 
96
102
  UI.message("Setting temporary keychain path to: \"#{path}\"")
97
- other_action.create_keychain(unlock: true, timeout: false, add_to_search_list: true)
103
+ other_action.create_keychain(unlock: true, timeout: 0, add_to_search_list: true)
98
104
  end
99
105
 
100
106
  #####################################################
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module YalantisCi
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-yalantis_ci
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dima Vorona
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-14 00:00:00.000000000 Z
11
+ date: 2021-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane-plugin-firebase_app_distribution
@@ -166,7 +166,6 @@ files:
166
166
  - lib/fastlane/plugin/yalantis_ci/actions/ci_teardown.rb
167
167
  - lib/fastlane/plugin/yalantis_ci/actions/firebase_distribution_setup.rb
168
168
  - lib/fastlane/plugin/yalantis_ci/actions/install_brew_dependencies.rb
169
- - lib/fastlane/plugin/yalantis_ci/actions/yalantis_ci_action.rb
170
169
  - lib/fastlane/plugin/yalantis_ci/helper/ci_helper.rb
171
170
  - lib/fastlane/plugin/yalantis_ci/helper/git_helper.rb
172
171
  - lib/fastlane/plugin/yalantis_ci/version.rb
@@ -1,47 +0,0 @@
1
- require 'fastlane/action'
2
- require_relative '../helper/ci_helper'
3
-
4
- module Fastlane
5
- module Actions
6
- class YalantisCiAction < Action
7
- def self.run(params)
8
- UI.message("The yalantis_ci plugin is working!")
9
- end
10
-
11
- def self.description
12
- "Set of utilities and useful actions to help setup CI for Yalantis projects"
13
- end
14
-
15
- def self.authors
16
- ["Dima Vorona"]
17
- end
18
-
19
- def self.return_value
20
- # If your method provides a return value, you can describe here what it does
21
- end
22
-
23
- def self.details
24
- # Optional:
25
- "This plugin provides tools that setup Firebase, setup proper match repo branch name based on the project Unique ID (based on Team ID and a project name), syncs AppStore Connect API keys, kbridges cocoapod keys plugin to sync and share keys, stored in an encrypted repo just as Match does"
26
- end
27
-
28
- def self.available_options
29
- [
30
- # FastlaneCore::ConfigItem.new(key: :your_option,
31
- # env_name: "YALANTIS_CI_YOUR_OPTION",
32
- # description: "A description of your option",
33
- # optional: false,
34
- # type: String)
35
- ]
36
- end
37
-
38
- def self.is_supported?(platform)
39
- # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
40
- # See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
41
- #
42
- # [:ios, :mac, :android].include?(platform)
43
- true
44
- end
45
- end
46
- end
47
- end