1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-20 02:57:05 +00:00

Rename link variables, setup travis tag releases

This commit is contained in:
James Hillyerd
2017-12-17 19:32:05 -08:00
parent 9f6dee640e
commit 890d8e0202
3 changed files with 9 additions and 13 deletions

View File

@@ -23,11 +23,11 @@ import (
)
var (
// VERSION contains the build version number, populated during linking by goxc
VERSION = "1.2.0-rc2"
// version contains the build version number, populated during linking
version = "undefined"
// BUILDDATE contains the build date, populated during linking by goxc
BUILDDATE = "undefined"
// date contains the build date, populated during linking
date = "undefined"
// Command line flags
help = flag.Bool("help", false, "Displays this help")
@@ -61,8 +61,8 @@ func init() {
}
func main() {
config.Version = VERSION
config.BuildDate = BUILDDATE
config.Version = version
config.BuildDate = date
flag.Parse()
if *help {