From 77907a76a376c71e03d0cb86ad97ad928b187491 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 19 Feb 2020 19:56:10 -0800 Subject: [PATCH] version: tag redo-generated version as +build redo. staticcheck defaults to running with no tags set, which only works if redo hasn't run and generated ver.go. If it has, we end up with a redeclaration conflict. Signed-off-by: David Anderson --- version/ver.go.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/version/ver.go.in b/version/ver.go.in index d9dd25ed4..e8142118e 100644 --- a/version/ver.go.in +++ b/version/ver.go.in @@ -1,3 +1,5 @@ +// +build redo + package version const LONG = "{LONGVER}"