make chlog-new
fails on branches containing .
with "Error: non-yaml extension"
#237
Labels
bug
Something isn't working
Component(s)
No response
What happened?
Description
Running
make chlog-new
fails with the following error:It seems that branch names that contain dots break the filename parser. When I remove the dots the file is correctly generated as (in this example)
gcp-v0350.yaml
Steps to Reproduce
Run
make chlog-new
from a branch with dots in the name.Expected Result
The file is generated with
.yaml
appended regardless of the branch name.Actual Result
The above error occurs. Note that updating this line in the makefile to add
.yaml
manually does work, ie a file namedgcp-v0.35.0.yaml
will be generated. So it seems like it's maybe just an issue in the changelog tool's filename parsing.Collector version
main
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: