diff --git a/README.dev.md b/README.dev.md index ebb0351c..ee2769eb 100644 --- a/README.dev.md +++ b/README.dev.md @@ -1,4 +1,3 @@ # Releasing * Update `CHANGELOG.md` -* Update `Version` in `main.go` diff --git a/cmd/geoipupdate/args.go b/cmd/geoipupdate/args.go index 08ee2b9d..2a0141f3 100644 --- a/cmd/geoipupdate/args.go +++ b/cmd/geoipupdate/args.go @@ -39,7 +39,7 @@ func getArgs() *Args { printUsage() } if *version { - log.Printf("geoipupdate %s", Version) + log.Printf("geoipupdate %s", version) os.Exit(0) } diff --git a/cmd/geoipupdate/main.go b/cmd/geoipupdate/main.go index c932ba98..6693ea64 100644 --- a/cmd/geoipupdate/main.go +++ b/cmd/geoipupdate/main.go @@ -19,8 +19,8 @@ import ( flock "github.com/theckman/go-flock" ) -// Version is the program's version number. -const Version = "0.0.1" +// version is the program's version number. +var version = "unknown" func main() { log.SetFlags(0)