From 8cb272360c93dbf22a7d96806dc9870a52ce6714 Mon Sep 17 00:00:00 2001 From: gammazero <11790789+gammazero@users.noreply.github.com> Date: Fri, 6 Mar 2026 16:24:33 -1000 Subject: [PATCH] remove "-dev-build" from version output The sting "-dev-build" is added to the versio output when the build info does not contain a `vcs.revision` value. This happens when ipget is installed using `go install`, which makes the meaning of "dev-build" confusing since unmodified code was used to build ipget, and downloadable binaries are not offered. --- version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.go b/version.go index 357c6333..eb6e89fd 100644 --- a/version.go +++ b/version.go @@ -47,5 +47,5 @@ func buildVersion() string { if revision != "" { return fmt.Sprintf("%s %s-%s", release, day, revision) } - return release + " dev-build" + return release }