File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -139,13 +139,18 @@ ATTRS=(
139
139
# Starting with XSD repo-7 and addon-5, some revision elements are no longer just
140
140
# integers. Instead they are in major.minor.micro.preview format. This defines
141
141
# which elements. This depends on the XSD root element and the XSD version.
142
+ #
143
+ # Note: addon extra revision can't take a preview number. We don't enforce
144
+ # this in this script. Instead schema validation will fail if the extra
145
+ # source.property declares an RC and it gets inserted in the addon.xml here.
142
146
143
147
if [[ " $ROOT " == " sdk-repository" && " $XSD_VERSION " -ge 7 ]] ||
144
148
[[ " $ROOT " == " sdk-addon" && " $XSD_VERSION " -ge 5 ]]; then
145
149
FULL_REVISIONS=(
146
150
tool revision
147
151
build-tool revision
148
152
platform-tool revision
153
+ extra revision
149
154
@ min-tools-rev
150
155
@ min-platform-tools-rev
151
156
)
@@ -177,7 +182,7 @@ function needs_full_revision() {
177
182
}
178
183
179
184
# Parses and print a full revision in the form "1.2.3 rc4".
180
- # Note that the format requires to have a # space before the
185
+ # Note that the format requires to have 1 space before the
181
186
# optional "rc" (e.g. '1 rc4', not '1rc4') and no space after
182
187
# the rc (so not '1 rc 4' either)
183
188
function write_full_revision() {
You can’t perform that action at this time.
0 commit comments