Skip to content

Commit c02d196

Browse files
Fixed go generate
1 parent 26b5911 commit c02d196

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var logLevel string
3030

3131
var minStatusInterval = durationpb.New(250 * time.Millisecond)
3232

33-
//go:generate sh -c "echo -n $(git describe --long) > commit.txt"
33+
//go:generate sh -c "echo -n $(git describe --tags --long) > commit.txt"
3434
//go:embed commit.txt
3535
var cliVersion string
3636

tracing/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"go.opentelemetry.io/otel/trace"
2525
)
2626

27-
//go:generate sh -c "echo -n $(git describe --long) > commit.txt"
27+
//go:generate sh -c "echo -n $(git describe --tags --long) > commit.txt"
2828
//go:embed commit.txt
2929
var instrumentationVersion string
3030

0 commit comments

Comments
 (0)