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 <dave@natulte.net>
This commit is contained in:
David Anderson 2020-02-19 19:56:10 -08:00
parent 15b4d26d92
commit 77907a76a3

View File

@ -1,3 +1,5 @@
// +build redo
package version
const LONG = "{LONGVER}"