fastlane-plugin-update_provisioning_profile_specifier 1.1.0 → 1.1.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1edc7c8df2eec239b18812a9c61fb9c8a64c9745
|
4
|
+
data.tar.gz: 7f907a5e9c3b66d9b6a711bbd8ea4f3b0e7ca236
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7cc19b0331890d9135dd27f65e678078c7af08207d7507ed0b42534c562dcbcfb8b45a6687e898033c04335beb4b7d54cdb2cff0e8bb64c77171def83ea9242
|
7
|
+
data.tar.gz: be9c3d380c2125297ffce0e652310d4a92bdcd38aa28108b6fc8e361e101ee4bae6659c237daec11ff281aaa14cfcfa251b3cc4dc30533b828629c989b239114
|
@@ -11,7 +11,7 @@ module Fastlane
|
|
11
11
|
|
12
12
|
# validate folder
|
13
13
|
project_file_path = File.join(pdir, "project.pbxproj")
|
14
|
-
UI.user_error!("Could not find path to project config '#{project_file_path}'. Pass the path to your project (NOT workspace!)") unless File.
|
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
16
|
|
17
17
|
project = Xcodeproj::Project.open(pdir)
|
@@ -24,7 +24,7 @@ module Fastlane
|
|
24
24
|
end
|
25
25
|
|
26
26
|
t.build_configuration_list.build_configurations.each do |config|
|
27
|
-
if
|
27
|
+
if params[:append]
|
28
28
|
cur = config.build_settings[specifier_key]
|
29
29
|
config.build_settings[specifier_key] = cur + params[:new_specifier]
|
30
30
|
else
|
@@ -48,32 +48,36 @@ module Fastlane
|
|
48
48
|
def self.available_options
|
49
49
|
[
|
50
50
|
FastlaneCore::ConfigItem.new(
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
51
|
+
key: :xcodeproj,
|
52
|
+
env_name: "UPDATE_PROVISIONING_PROFILE_SPECIFIER_XCODEPROJ",
|
53
|
+
description: "Path to the .xcodeproj file",
|
54
|
+
optional: true,
|
55
|
+
verify_block: proc do |value|
|
56
|
+
UI.user_error!("Path to Xcode project file is invalid") unless File.exist?(value)
|
57
|
+
end
|
58
|
+
),
|
58
59
|
FastlaneCore::ConfigItem.new(
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
60
|
+
key: :target,
|
61
|
+
env_name: "UPDATE_PROVISIONING_PROFILE_SPECIFIER_TARGET",
|
62
|
+
description: "The target for which to change the Provisioning Profile Specifier. If unspecified the change will be applied to all targets",
|
63
|
+
optional: true
|
64
|
+
),
|
63
65
|
FastlaneCore::ConfigItem.new(
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
66
|
+
key: :new_specifier,
|
67
|
+
env_name: "UPDATE_PROVISIONING_PROFILE_SPECIFIER_NEW_SPECIFIER",
|
68
|
+
description: "Name of the new provisioning profile specifier to use, or to append to the existing value",
|
69
|
+
optional: false
|
70
|
+
),
|
68
71
|
FastlaneCore::ConfigItem.new(
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
72
|
+
key: :append,
|
73
|
+
env_name: "UPDATE_PROVISIONING_PROFILE_SPECIFIER_APPEND",
|
74
|
+
description: ["True to append 'new_specifier' to the end of the exxisting specifier.",
|
75
|
+
"This works well if you have provisioning profiles for the same project with different configurations, ",
|
76
|
+
"'MyApp' and 'MyAppBeta', for example"].join('\n'),
|
77
|
+
optional: true,
|
78
|
+
default_value: false,
|
79
|
+
is_string: false
|
80
|
+
)
|
77
81
|
]
|
78
82
|
end
|
79
83
|
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
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.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordan Bondo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: xcodeproj
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.3.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.3.1
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: pry
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|