Commit 87bdd7c 1 parent 290d7ee commit 87bdd7c Copy full SHA for 87bdd7c
File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 98
98
&& applyPatchOrPrintMsgIf(' 2025-01-23-event-aliases' , ' spec' , ' 1.41.0' );
99
99
100
100
my $aliases = ' ^( - )(event-(api|sdk))$' ;
101
- s | $aliases| $1 ./$2 | g if / $aliases / ;
101
+ s | $aliases| $1 ./$2 | ;
102
102
}
103
103
104
- sub patchSemConvEmitAnEvent () {
104
+ sub patchSemConv1_30_0 () {
105
105
return unless $ARGV =~ / ^tmp\/ semconv\/ docs\/ /
106
106
&& applyPatchOrPrintMsgIf(' 2025-01-24-emit-an-event' , ' semconv' , ' 1.30.0' );
107
107
108
108
s | Emit Event API| Log API| ;
109
- my $path = ' (docs/specs/otel/logs/api.md#emit-a)n-event' ;
110
- s |$path | $1 -logrecord | g if / $path / ;
109
+ s | (docs/specs/otel/logs/api.md#emit-a)n-event| $1 -logrecord | ;
110
+ s |\[ semantic-convention-groups \] | [group-stability] | ;
111
111
}
112
112
113
113
sub getVersFromSubmodule () {
152
152
$lineNum ++;
153
153
last if / ^-?-->/ ;
154
154
patchEventAliases();
155
+ patchSemConv1_30_0();
155
156
$frontMatterFromFile .= $_ ;
156
157
}
157
158
next ;
231
232
232
233
s |\]\( (proto/opamp.proto)\) | ]($opAmpSpecRepoUrl /blob/main/$1 )| ;
233
234
234
- patchSemConvEmitAnEvent ();
235
+ patchSemConv1_30_0 ();
235
236
236
237
print ;
237
238
}
You can’t perform that action at this time.
0 commit comments