fastlane-plugin-yalantis_ci 0.3.8 → 0.3.9

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: 58cd3b0ec5fef22e15fa882c7ca44203708e8856c0564f576fe7663abfc831b1
4
- data.tar.gz: c3a33707d3a0bebdfba4226401c9152e46eb8176c9884a588d058554447d0ecf
3
+ metadata.gz: 4622dd6d9a13b4d67310b8cd8421bc00abcba72ddaa43ccc0765527f3d647699
4
+ data.tar.gz: 989f4db2393f9a5cd2401522b69a04f439d6f07f75fea35b29554887dff25b31
5
5
  SHA512:
6
- metadata.gz: 90b56e0a44ac82f76ec2c06c66b64c11d5f6f7b479c8fbbde46613731ed684337275c9ceaa100df5c7afdac7f4af5a0aada08000cdc1eeb407e6e4dc7c95ed81
7
- data.tar.gz: 34b52c767b66eb3d92b1616a005b95ee47e56962067e830148248afe06d5a4aaf1e20ecf4e388d5c090547f5b78a484e8a9151c5a1020f71c357b1c2deef0af9
6
+ metadata.gz: 2b0155b2f1ec999d5a2de687a0d9ad705865fe1333ece391dfd09d82fb78d3a21c7cb3b333c6f70911e523e7dc67ba721768d209ae05a50acbfa611d02b2e89f
7
+ data.tar.gz: cd2d555a42cfa1333b2ace48234e598cf4c705853a7550481df2b72e9515320140f586a801b7d508f4e448cc359882ac2e2042a158733de7cff01b102f18d78d
@@ -17,15 +17,15 @@ module Fastlane
17
17
  Actions.lane_context[SharedValues::CI_UNIQUE_PROJECT_ID] = id
18
18
  ENV['CI_UNIQUE_PROJECT_ID'] = id
19
19
 
20
- # We want to setup match repo regardless of the environment.
20
+ # We want to setup match repo regardless of the environment
21
21
  # On both local and remote machine this should be set to the same value
22
22
  self.setup_match_repo(id)
23
23
 
24
- if !Helper.ci?
24
+ unless Helper.ci?
25
25
  return
26
26
  end
27
27
 
28
- self.setup_temp_keychain(id)
28
+ self.setup_temp_keychain(params[:keychain_name] || id)
29
29
 
30
30
  # Set output directory
31
31
  if params[:output_directory]
@@ -39,9 +39,9 @@ module Fastlane
39
39
  if params[:archive_name]
40
40
  extension = "xcarchive"
41
41
  archive_name = File.basename(params[:archive_name], File.extname(params[:archive_name])) + extension
42
- archive_path = File.join(output_directory_path, params[:archive_name])
42
+ archive_path = File.join(output_directory_path, archive_name)
43
43
 
44
- UI.message("Setting archive path to: \"#{output_directory_path}\".")
44
+ UI.message("Setting archive path to: \"#{output_directory_path}\"")
45
45
  ENV['GYM_ARCHIVE_PATH'] = archive_path
46
46
  end
47
47
  end
@@ -80,9 +80,7 @@ module Fastlane
80
80
  end
81
81
 
82
82
  def self.setup_temp_keychain(id)
83
- job_id = ENV['CI_JOBENV_ID'] || ''
84
-
85
- name = "#{id}-#{job_id}-fastlane"
83
+ name = "#{id}-fastlane"
86
84
  password = "#{name}-password"
87
85
  path = File.expand_path("~/Library/Keychains/#{name}.keychain-db")
88
86
 
@@ -118,35 +116,44 @@ module Fastlane
118
116
  end
119
117
 
120
118
  def self.available_options
121
- # Define all options your action supports.
122
-
119
+ # Define all options your action supports
123
120
  # Below a few examples
124
121
  [
125
- FastlaneCore::ConfigItem.new(key: :derived_data_path,
126
- env_name: "CI_DERIVED_DATA_PATH",
127
- description: "Path to the derived data to be used",
128
- is_string: true,
129
- default_value: "./build/DerivedData"
130
- ),
131
- FastlaneCore::ConfigItem.new(key: :output_directory,
132
- env_name: "CI_OUTPUT_DIRECTORY",
133
- description: "The directory in which the ipa file should be stored in as well as .xcarchive",
134
- is_string: true,
135
- default_value: "./build"
136
- ),
137
- FastlaneCore::ConfigItem.new(key: :archive_name,
138
- env_name: "CI_ARCHIVE_NAME",
139
- description: "The name of the .xcarchive to be used. Valid only when :output_directory is passed",
140
- is_string: true,
141
- optional: true
142
- ),
143
- FastlaneCore::ConfigItem.new(key: :project,
144
- env_name: "XC_PROJECT",
145
- description: "Path to the .xcodeproj to be used or any project-related description. Used during CI_UNIQUE_PROJECT_ID generation",
146
- is_string: true,
147
- optional: false
148
- ),
149
-
122
+ FastlaneCore::ConfigItem.new(
123
+ key: :derived_data_path,
124
+ env_name: "CI_DERIVED_DATA_PATH",
125
+ description: "Path to the derived data to be used",
126
+ is_string: true,
127
+ default_value: "./build/DerivedData"
128
+ ),
129
+ FastlaneCore::ConfigItem.new(
130
+ key: :keychain_name,
131
+ env_name: "CI_KEYCHAIN_NAME",
132
+ description: "Keychain name to be used for a particular job",
133
+ optional: true,
134
+ type: String
135
+ ),
136
+ FastlaneCore::ConfigItem.new(
137
+ key: :output_directory,
138
+ env_name: "CI_OUTPUT_DIRECTORY",
139
+ description: "The directory in which the ipa file should be stored in as well as .xcarchive",
140
+ is_string: true,
141
+ default_value: "./build"
142
+ ),
143
+ FastlaneCore::ConfigItem.new(
144
+ key: :archive_name,
145
+ env_name: "CI_ARCHIVE_NAME",
146
+ description: "The name of the .xcarchive to be used. Valid only when :output_directory is passed",
147
+ is_string: true,
148
+ optional: true
149
+ ),
150
+ FastlaneCore::ConfigItem.new(
151
+ key: :project,
152
+ env_name: "XC_PROJECT",
153
+ description: "Path to the .xcodeproj to be used or any project-related description. Used during CI_UNIQUE_PROJECT_ID generation",
154
+ is_string: true,
155
+ optional: false
156
+ ),
150
157
  ]
151
158
  end
152
159
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module YalantisCi
3
- VERSION = "0.3.8"
3
+ VERSION = "0.3.9"
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.3.8
4
+ version: 0.3.9
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-12-15 00:00:00.000000000 Z
11
+ date: 2021-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane-plugin-firebase_app_distribution