fastlane-plugin-update_provisioning_profile_specifier 1.2.0 → 1.3.0
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67a91617efeba4b7b542f59347026565f72984de
|
4
|
+
data.tar.gz: d2cc184a469ed5a5f7d9b3aad339731d3e6ff214
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30730e189ae87d140e78787c25802ad1cc35f104a5d284d6d3c6bec4ad26d42620695595a25895cd738b2df2d456d1606052ae8bbf5704810ea74d40590dffbb
|
7
|
+
data.tar.gz: '0837d81fdf3959dff06aeafd78c71efd0257020b00f774c29ccae7ee67d8988112e7e1775f5086106dabbd16ebeabf3f0a2ece88008969384f0e1b0b46190dbe'
|
@@ -13,6 +13,7 @@ module Fastlane
|
|
13
13
|
project_file_path = File.join(pdir, "project.pbxproj")
|
14
14
|
UI.user_error!("Could not find path to project config '#{project_file_path}'. Pass the path to your project (NOT workspace!)") unless File.exist?(project_file_path)
|
15
15
|
target = params[:target]
|
16
|
+
configuration = params[:configuration]
|
16
17
|
|
17
18
|
project = Xcodeproj::Project.open(pdir)
|
18
19
|
project.targets.each do |t|
|
@@ -24,6 +25,13 @@ module Fastlane
|
|
24
25
|
end
|
25
26
|
|
26
27
|
t.build_configuration_list.build_configurations.each do |config|
|
28
|
+
if !configuration || config.name.match(configuration)
|
29
|
+
UI.success("Updating configuration #{config.name}")
|
30
|
+
else
|
31
|
+
UI.important("Skipping configuration #{config.name} as it doesn't match the filter '#{configuration}'")
|
32
|
+
next
|
33
|
+
end
|
34
|
+
|
27
35
|
if params[:append]
|
28
36
|
cur = config.build_settings[specifier_key]
|
29
37
|
config.build_settings[specifier_key] = cur + params[:new_specifier]
|
@@ -60,6 +68,12 @@ module Fastlane
|
|
60
68
|
key: :target,
|
61
69
|
env_name: "UPDATE_PROVISIONING_PROFILE_SPECIFIER_TARGET",
|
62
70
|
description: "The target for which to change the Provisioning Profile Specifier. If unspecified the change will be applied to all targets",
|
71
|
+
optional: true
|
72
|
+
),
|
73
|
+
FastlaneCore::ConfigItem.new(
|
74
|
+
key: :configuration,
|
75
|
+
env_name: "UPDATE_PROVISIONING_PROFILE_SPECIFIER_CONFIGURATION",
|
76
|
+
description: "The configuration for which to change the Provisioning Profile Specifier. If unspecified the change will be applied to all configurations",
|
63
77
|
optional: true
|
64
78
|
),
|
65
79
|
FastlaneCore::ConfigItem.new(
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-update_provisioning_profile_specifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordan Bondo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xcodeproj
|