Skip to content

Commit 2e21c79

Browse files
authored
fix: parse commit message that contains multiple headers (#2147)
Fixes #2120
1 parent 3532f19 commit 2e21c79

File tree

4 files changed

+257
-181
lines changed

4 files changed

+257
-181
lines changed

e2e_test.go

Lines changed: 16 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,6 @@ func TestReleaseInit(t *testing.T) {
413413
},
414414
} {
415415
t.Run(test.name, func(t *testing.T) {
416-
t.Skip("Skipping until parser is fixed. See: https://github.com/googleapis/librarian/issues/2120")
417416
workRoot := t.TempDir()
418417
repo := t.TempDir()
419418

@@ -438,41 +437,23 @@ This pull request is generated with proto changes between
438437
439438
BEGIN_COMMIT_OVERRIDE
440439
BEGIN_NESTED_COMMIT
441-
feat: [texttospeech] Support promptable voices by specifying a model
442-
name and a prompt
440+
feat: [texttospeech] Support promptable voices by specifying a model name and a prompt
443441
feat: [texttospeech] Add enum value M4A to enum AudioEncoding
444-
docs: [texttospeech] A comment for method 'StreamingSynthesize' in
445-
service 'TextToSpeech' is changed
446-
docs: [texttospeech] A comment for enum value
447-
'AUDIO_ENCODING_UNSPECIFIED' in enum 'AudioEncoding' is changed
448-
docs: [texttospeech] A comment for enum value 'OGG_OPUS' in enum
449-
'AudioEncoding' is changed
450-
docs: [texttospeech] A comment for enum value 'PCM' in enum
451-
'AudioEncoding' is changed
452-
docs: [texttospeech] A comment for field 'low_latency_journey_synthesis'
453-
in message '.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions' is
454-
changed
455-
docs: [texttospeech] A comment for enum value 'PHONETIC_ENCODING_IPA' in
456-
enum 'PhoneticEncoding' is changed
457-
docs: [texttospeech] A comment for enum value
458-
'PHONETIC_ENCODING_X_SAMPA' in enum 'PhoneticEncoding' is changed
459-
docs: [texttospeech] A comment for field 'phrase' in message
460-
'.google.cloud.texttospeech.v1beta1.CustomPronunciationParams' is
461-
changed
462-
docs: [texttospeech] A comment for field 'pronunciations' in message
463-
'.google.cloud.texttospeech.v1beta1.CustomPronunciations' is changed
464-
docs: [texttospeech] A comment for message 'MultiSpeakerMarkup' is
465-
changed
466-
docs: [texttospeech] A comment for field 'custom_pronunciations' in
467-
message '.google.cloud.texttospeech.v1beta1.SynthesisInput' is changed
468-
docs: [texttospeech] A comment for field 'voice_clone' in message
469-
'.google.cloud.texttospeech.v1beta1.VoiceSelectionParams' is changed
470-
docs: [texttospeech] A comment for field 'speaking_rate' in message
471-
'.google.cloud.texttospeech.v1beta1.AudioConfig' is changed
472-
docs: [texttospeech] A comment for field 'audio_encoding' in message
473-
'.google.cloud.texttospeech.v1beta1.StreamingAudioConfig' is changed
474-
docs: [texttospeech] A comment for field 'text' in message
475-
'.google.cloud.texttospeech.v1beta1.StreamingSynthesisInput' is changed
442+
docs: [texttospeech] A comment for method 'StreamingSynthesize' in service 'TextToSpeech' is changed
443+
docs: [texttospeech] A comment for enum value 'AUDIO_ENCODING_UNSPECIFIED' in enum 'AudioEncoding' is changed
444+
docs: [texttospeech] A comment for enum value 'OGG_OPUS' in enum 'AudioEncoding' is changed
445+
docs: [texttospeech] A comment for enum value 'PCM' in enum 'AudioEncoding' is changed
446+
docs: [texttospeech] A comment for field 'low_latency_journey_synthesis' in message '.google.cloud.texttospeech.v1beta1.AdvancedVoiceOptions' is changed
447+
docs: [texttospeech] A comment for enum value 'PHONETIC_ENCODING_IPA' in enum 'PhoneticEncoding' is changed
448+
docs: [texttospeech] A comment for enum value 'PHONETIC_ENCODING_X_SAMPA' in enum 'PhoneticEncoding' is changed
449+
docs: [texttospeech] A comment for field 'phrase' in message '.google.cloud.texttospeech.v1beta1.CustomPronunciationParams' is changed
450+
docs: [texttospeech] A comment for field 'pronunciations' in message '.google.cloud.texttospeech.v1beta1.CustomPronunciations' is changed
451+
docs: [texttospeech] A comment for message 'MultiSpeakerMarkup' is changed
452+
docs: [texttospeech] A comment for field 'custom_pronunciations' in message '.google.cloud.texttospeech.v1beta1.SynthesisInput' is changed
453+
docs: [texttospeech] A comment for field 'voice_clone' in message '.google.cloud.texttospeech.v1beta1.VoiceSelectionParams' is changed
454+
docs: [texttospeech] A comment for field 'speaking_rate' in message '.google.cloud.texttospeech.v1beta1.AudioConfig' is changed
455+
docs: [texttospeech] A comment for field 'audio_encoding' in message '.google.cloud.texttospeech.v1beta1.StreamingAudioConfig' is changed
456+
docs: [texttospeech] A comment for field 'text' in message '.google.cloud.texttospeech.v1beta1.StreamingSynthesisInput' is changed
476457
477458
PiperOrigin-RevId: 799242210
478459

0 commit comments

Comments
 (0)