mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
set version when building (#1042)
go build -ldflags "-X main.VERSION=${VERSION}"
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
|
||||
// VERSION the current version of goreplay
|
||||
const VERSION = "1.3.0"
|
||||
var VERSION = "1.3.0"
|
||||
|
||||
Reference in New Issue
Block a user