fastlane-plugin-versioning 0.5.2 → 0.6.1

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: 79b440ee888faef8d8af1ca926280a5f9b49bb357cc3d69e53dc8a1a56b7b2c8
4
- data.tar.gz: c3a217e48d29083d152d32fbf2d59e155e0b6c8634ff47171135c5a808595bc6
3
+ metadata.gz: b3b5abd3eb817480131289c1374ab663b59e7fba7a97c17421499b05a934200c
4
+ data.tar.gz: cec5b6815e3f92e082cf2f19efe560849d655eca18f5fc37d3521aa5618f8d63
5
5
  SHA512:
6
- metadata.gz: e4a0ac02d302b480dd88dec90e780239455ede0f5d6c8b40bb32d774951ac8b74de3a8c633c8be57b89ba27d014c523b8081e629ab4449b72eec76aadc4e05b8
7
- data.tar.gz: ef0aa4fb316b53cb28bdb6285c8acba0649ad2ccf295430ba665152bb6a3e25a832594f2e3b3cf4d4dcabf9c2ed19f761f046ad24b15da1e1130e84416392b1b
6
+ metadata.gz: 53a42411d4b491df7e872269fa6c6cfe083e597dfdef9e83fe819697f9c5960a4d49f835116077db5e70a774191843f4e98d969502ae93eaba49a1110e18215b
7
+ data.tar.gz: 63beb92a441fa492f3082229007bf6fc36a88d68bc3ef2f79340155d57b61842ad3b3f9605a3f7925e8e3a45dee5a42bbabc2bc4cca55ea923f7cdc30e244cb1
@@ -77,7 +77,11 @@ module Fastlane
77
77
  FastlaneCore::ConfigItem.new(key: :country,
78
78
  optional: true,
79
79
  description: "Pass an optional country code, if your app's availability is limited to specific countries",
80
- is_string: true)
80
+ is_string: true),
81
+ FastlaneCore::ConfigItem.new(key: :skip_package_dependencies_resolution,
82
+ description: "Skips resolution of Swift Package Manager dependencies",
83
+ type: Boolean,
84
+ default_value: false)
81
85
  ]
82
86
  end
83
87
 
@@ -62,7 +62,11 @@ module Fastlane
62
62
  FastlaneCore::ConfigItem.new(key: :plist_build_setting_support,
63
63
  description: "support automatic resolution of build setting from xcodeproj if not a literal value in the plist",
64
64
  is_string: false,
65
- default_value: false)
65
+ default_value: false),
66
+ FastlaneCore::ConfigItem.new(key: :skip_package_dependencies_resolution,
67
+ description: "Skips resolution of Swift Package Manager dependencies",
68
+ type: Boolean,
69
+ default_value: false)
66
70
  ]
67
71
  end
68
72
 
@@ -68,12 +68,17 @@ module Fastlane
68
68
  end
69
69
 
70
70
  def self.get_build_number_using_scheme(params)
71
- config = { project: params[:xcodeproj], scheme: params[:scheme], configuration: params[:build_configuration_name] }
71
+ config = {
72
+ project: params[:xcodeproj],
73
+ scheme: params[:scheme],
74
+ configuration: params[:build_configuration_name],
75
+ skip_package_dependencies_resolution: params[:skip_package_dependencies_resolution]
76
+ }
72
77
  project = FastlaneCore::Project.new(config)
73
78
  project.select_scheme
74
79
 
75
80
  build_number = project.build_settings(key: 'CURRENT_PROJECT_VERSION')
76
- UI.user_error! "Cannot resolve $(CURRENT_PROJECT_VERSION) in for the scheme #{config.scheme} with the name #{params.configuration}" if build_number.nil? || build_number.empty?
81
+ UI.user_error! "Cannot resolve $(CURRENT_PROJECT_VERSION) in for the scheme #{config[:scheme]} with the name #{config[:configuration]}" if build_number.nil? || build_number.empty?
77
82
  build_number
78
83
  end
79
84
 
@@ -111,7 +116,11 @@ module Fastlane
111
116
  description: "Specify a specific scheme if you have multiple per project, optional"),
112
117
  FastlaneCore::ConfigItem.new(key: :build_configuration_name,
113
118
  optional: true,
114
- description: "Specify a specific build configuration if you have different build settings for each configuration")
119
+ description: "Specify a specific build configuration if you have different build settings for each configuration"),
120
+ FastlaneCore::ConfigItem.new(key: :skip_package_dependencies_resolution,
121
+ description: "Skips resolution of Swift Package Manager dependencies",
122
+ type: Boolean,
123
+ default_value: false)
115
124
  ]
116
125
  end
117
126
 
@@ -53,7 +53,12 @@ module Fastlane
53
53
  end
54
54
 
55
55
  def self.find_path_using_scheme(params)
56
- config = { project: params[:xcodeproj], scheme: params[:scheme], configuration: params[:build_configuration_name] }
56
+ config = {
57
+ project: params[:xcodeproj],
58
+ scheme: params[:scheme],
59
+ configuration: params[:build_configuration_name],
60
+ skip_package_dependencies_resolution: params[:skip_package_dependencies_resolution]
61
+ }
57
62
  project = FastlaneCore::Project.new(config)
58
63
  project.select_scheme
59
64
 
@@ -98,7 +103,11 @@ module Fastlane
98
103
  description: "Specify a specific scheme if you have multiple per project, optional"),
99
104
  FastlaneCore::ConfigItem.new(key: :build_configuration_name,
100
105
  optional: true,
101
- description: "Specify a specific build configuration if you have different Info.plist build settings for each configuration")
106
+ description: "Specify a specific build configuration if you have different Info.plist build settings for each configuration"),
107
+ FastlaneCore::ConfigItem.new(key: :skip_package_dependencies_resolution,
108
+ description: "Skips resolution of Swift Package Manager dependencies",
109
+ type: Boolean,
110
+ default_value: false)
102
111
  ]
103
112
  end
104
113
 
@@ -60,9 +60,13 @@
60
60
  optional: true,
61
61
  description: "Specify a specific build configuration if you have different Info.plist build settings for each configuration"),
62
62
  FastlaneCore::ConfigItem.new(key: :plist_build_setting_support,
63
- description: "support automatic resolution of build setting from xcodeproj if not a literal value in the plist",
64
- is_string: false,
65
- default_value: false)
63
+ description: "support automatic resolution of build setting from xcodeproj if not a literal value in the plist",
64
+ is_string: false,
65
+ default_value: false),
66
+ FastlaneCore::ConfigItem.new(key: :skip_package_dependencies_resolution,
67
+ description: "Skips resolution of Swift Package Manager dependencies",
68
+ type: Boolean,
69
+ default_value: false)
66
70
  ]
67
71
  end
68
72
 
@@ -52,12 +52,17 @@ module Fastlane
52
52
  end
53
53
 
54
54
  def self.get_version_number_using_scheme(params)
55
- config = { project: params[:xcodeproj], scheme: params[:scheme], configuration: params[:build_configuration_name] }
55
+ config = {
56
+ project: params[:xcodeproj],
57
+ scheme: params[:scheme],
58
+ configuration: params[:build_configuration_name],
59
+ skip_package_dependencies_resolution: params[:skip_package_dependencies_resolution]
60
+ }
56
61
  project = FastlaneCore::Project.new(config)
57
62
  project.select_scheme
58
63
 
59
64
  build_number = project.build_settings(key: 'MARKETING_VERSION')
60
- UI.user_error! "Cannot resolve $(MARKETING_VERSION) in for the scheme #{config.scheme} with the name #{params.configuration}" if build_number.nil? || build_number.empty?
65
+ UI.user_error! "Cannot resolve $(MARKETING_VERSION) in for the scheme #{config[:scheme]} with the name #{config[:configuration]}" if build_number.nil? || build_number.empty?
61
66
  build_number
62
67
  end
63
68
 
@@ -95,7 +100,11 @@ module Fastlane
95
100
  description: "Specify a specific scheme if you have multiple per project, optional"),
96
101
  FastlaneCore::ConfigItem.new(key: :build_configuration_name,
97
102
  optional: true,
98
- description: "Specify a specific build configuration if you have different build settings for each configuration")
103
+ description: "Specify a specific build configuration if you have different build settings for each configuration"),
104
+ FastlaneCore::ConfigItem.new(key: :skip_package_dependencies_resolution,
105
+ description: "Skips resolution of Swift Package Manager dependencies",
106
+ type: Boolean,
107
+ default_value: false)
99
108
  ]
100
109
  end
101
110
 
@@ -82,9 +82,13 @@ module Fastlane
82
82
  optional: true,
83
83
  description: "Specify a specific build configuration if you have different Info.plist build settings for each configuration"),
84
84
  FastlaneCore::ConfigItem.new(key: :plist_build_setting_support,
85
- description: "support automatic resolution of build setting from xcodeproj if not a literal value in the plist",
86
- is_string: false,
87
- default_value: false)
85
+ description: "support automatic resolution of build setting from xcodeproj if not a literal value in the plist",
86
+ is_string: false,
87
+ default_value: false),
88
+ FastlaneCore::ConfigItem.new(key: :skip_package_dependencies_resolution,
89
+ description: "Skips resolution of Swift Package Manager dependencies",
90
+ type: Boolean,
91
+ default_value: false)
88
92
  ]
89
93
  end
90
94
 
@@ -117,7 +117,11 @@ module Fastlane
117
117
  description: "Specify a specific scheme if you have multiple per project, optional"),
118
118
  FastlaneCore::ConfigItem.new(key: :build_configuration_name,
119
119
  optional: true,
120
- description: "Specify a specific build configuration if you have different build settings for each configuration")
120
+ description: "Specify a specific build configuration if you have different build settings for each configuration"),
121
+ FastlaneCore::ConfigItem.new(key: :skip_package_dependencies_resolution,
122
+ description: "Skips resolution of Swift Package Manager dependencies",
123
+ type: Boolean,
124
+ default_value: false)
121
125
  ]
122
126
  end
123
127
 
@@ -136,7 +136,11 @@ module Fastlane
136
136
  FastlaneCore::ConfigItem.new(key: :plist_build_setting_support,
137
137
  description: "support automatic resolution of build setting from xcodeproj if not a literal value in the plist",
138
138
  is_string: false,
139
- default_value: false)
139
+ default_value: false),
140
+ FastlaneCore::ConfigItem.new(key: :skip_package_dependencies_resolution,
141
+ description: "Skips resolution of Swift Package Manager dependencies",
142
+ type: Boolean,
143
+ default_value: false)
140
144
  ]
141
145
  end
142
146
 
@@ -173,6 +173,10 @@ module Fastlane
173
173
  FastlaneCore::ConfigItem.new(key: :plist_build_setting_support,
174
174
  description: "support automatic resolution of build setting from xcodeproj if not a literal value in the plist",
175
175
  is_string: false,
176
+ default_value: false),
177
+ FastlaneCore::ConfigItem.new(key: :skip_package_dependencies_resolution,
178
+ description: "Skips resolution of Swift Package Manager dependencies",
179
+ type: Boolean,
176
180
  default_value: false)
177
181
  ]
178
182
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Versioning
3
- VERSION = "0.5.2"
3
+ VERSION = "0.6.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-versioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siarhei Fiedartsou
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-07-17 00:00:00.000000000 Z
12
+ date: 2024-11-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  requirements: []
113
- rubygems_version: 3.3.26
113
+ rubygems_version: 3.5.11
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Allows to set/get app version and build number directly to/from Info.plist