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>pull/61/head
parent
15b4d26d92
commit
77907a76a3
|
@ -1,3 +1,5 @@
|
|||
// +build redo
|
||||
|
||||
package version
|
||||
|
||||
const LONG = "{LONGVER}"
|
||||
|
|
Loading…
Reference in New Issue