Skip to content

Commit 0fa4cfa

Browse files
committed
Fix patch INFO message condition in adjust-pages.pl
1 parent 27cf07b commit 0fa4cfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/content-modules/adjust-pages.pl

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@ ($$)
134134
my $semconv_attr_naming_md = '(semantic-conventions/blob/main/docs/general)/naming.md(#\w+)?';
135135
if ($ARGV =~ /^tmp\/otel\/specification/ && /$semconv_attr_naming_md/) {
136136
s|$semconv_attr_naming_md\b|$1/attribute-naming.md|g;
137-
printPatchInfoIf("2025-01-22-attribute-naming.md", $otelSpecVers ne "1.41.0");
137+
printPatchInfoIf("2025-01-22-attribute-naming.md", $semconvVers ne "1.29.0");
138138
}
139139

140140
my $semconv_attr_naming = '(/docs/specs/semconv/general)/naming/';
141141
if ($ARGV =~ /^tmp\/otel\/specification/ && /$semconv_attr_naming/) {
142142
s|$semconv_attr_naming|$1/attribute-naming/|g;
143-
printPatchInfoIf("2025-01-22-attribute-naming", $otelSpecVers ne "1.41.0");
143+
printPatchInfoIf("2025-01-22-attribute-naming", $semconvVers ne "1.29.0");
144144
}
145145

146146
s|\(https://github.com/open-telemetry/opentelemetry-specification\)|($specBasePath/otel/)|;

0 commit comments

Comments
 (0)