fastlane-plugin-versioning 0.5.2 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/versioning/actions/get_app_store_version_number.rb +5 -1
- data/lib/fastlane/plugin/versioning/actions/get_build_number_from_plist.rb +5 -1
- data/lib/fastlane/plugin/versioning/actions/get_build_number_from_xcodeproj.rb +11 -2
- data/lib/fastlane/plugin/versioning/actions/get_info_plist_path.rb +11 -2
- data/lib/fastlane/plugin/versioning/actions/get_version_number_from_plist.rb +7 -3
- data/lib/fastlane/plugin/versioning/actions/get_version_number_from_xcodeproj.rb +11 -2
- data/lib/fastlane/plugin/versioning/actions/increment_build_number_in_plist.rb +7 -3
- data/lib/fastlane/plugin/versioning/actions/increment_build_number_in_xcodeproj.rb +5 -1
- data/lib/fastlane/plugin/versioning/actions/increment_version_number_in_plist.rb +5 -1
- data/lib/fastlane/plugin/versioning/actions/increment_version_number_in_xcodeproj.rb +4 -0
- data/lib/fastlane/plugin/versioning/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60454c71e3a3495d65c1c09bc4d5a702032c542c75458cfb8ffd64fdd60652cd
|
4
|
+
data.tar.gz: e98badc1157215b40788f2d334079705b55ba019ce5898908303dbfdeaa9c913
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b533a88078e909fe883b6bb8eeaf267d10c23838cb72373c898d446349ecbb9f7e320905b1c28037de3d11dd624bd1810ea6945c036812ba4d06b9db13845b78
|
7
|
+
data.tar.gz: 92c8f3f45fe632e12d0fcfbd67e41f9a95dfcf88d4b127ed9e8b40c16ac34ddc921de3fa549a40b2cfca2ba34dcf5eeed30048ff279d5b30bd7f7efae5d73bd2
|
@@ -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,7 +68,12 @@ module Fastlane
|
|
68
68
|
end
|
69
69
|
|
70
70
|
def self.get_build_number_using_scheme(params)
|
71
|
-
config = {
|
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
|
|
@@ -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 = {
|
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
|
-
|
64
|
-
|
65
|
-
|
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,7 +52,12 @@ module Fastlane
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def self.get_version_number_using_scheme(params)
|
55
|
-
config = {
|
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
|
|
@@ -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
|
-
|
86
|
-
|
87
|
-
|
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
|
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.
|
4
|
+
version: 0.6.0
|
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:
|
12
|
+
date: 2024-08-19 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.
|
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
|