mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-07-10 04:23:05 +00:00
feat(telemetry): switch to SendForModule for auto-version resolution
Replace telemetry.Send(name, PKG_VERSION) with telemetry.SendForModule
so the binary reports its release version automatically from
runtime/debug.BuildInfo whenever PKG_VERSION isn't injected (e.g.
`go install` without ldflags). The goreleaser path still wins because
goreleaser's -X main.PKG_VERSION={{.Version}} populates the fallback,
but `go install github.com/lukaszraczylo/semver-generator@vX.Y.Z`
users now also get the correct version without ldflag plumbing.
Bumps oss-telemetry to v0.2.1.
This commit is contained in:
@@ -6,7 +6,7 @@ require (
|
||||
github.com/go-git/go-git/v5 v5.19.1
|
||||
github.com/lithammer/fuzzysearch v1.1.8
|
||||
github.com/lukaszraczylo/graphql-monitoring-proxy v0.45.1
|
||||
github.com/lukaszraczylo/oss-telemetry v0.0.0-20260521005811-e02d51419c52
|
||||
github.com/lukaszraczylo/oss-telemetry v0.2.1
|
||||
github.com/lukaszraczylo/pandati v0.0.29
|
||||
github.com/spf13/cobra v1.10.2
|
||||
github.com/spf13/viper v1.21.0
|
||||
|
||||
Reference in New Issue
Block a user