Open MrAlias opened 2 years ago
Seems to have been caused because the v1.7.0
tag was checked out to a v1.7.0
branch in the specification repository (git checkout tags/v1.7.0 -b v1.7.0
).
Ideally this wouldn't be panic.
I think the proper fix is to improve the error handling and tell that git worktree add
failed. Maybe the command is emitting something to stdout/stderr that is worth printing? I would not like to run worktree add
with -f
flag, because it can be dangerous as it will create a "linked worktree" that will modify the existing one.
Version:
go.opentelemetry.io/build-tools/semconvgen v0.0.0-20210920164323-2ceabab23375