summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--main.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 77bb4bd..64c9547 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
VERSION = $(shell git describe --tags)
-BUILDTIME = $(shell date +%Y.%m.%d_%H%M)
+BUILDTIME = $(shell date +%s)
run: install
go-mod-clean --version
diff --git a/main.go b/main.go
index 99f75e6..99619e2 100644
--- a/main.go
+++ b/main.go
@@ -24,7 +24,7 @@ var configSave bool
func main() {
auto = prep.Bash(&argv) // add support for bash autocomplete with go-arg // this line must be before anything else
- log.Info("go-mod-clean version", VERSION, "built on", BUILDTIME)
+ log.Info(auto.Version())
forge = forgepb.Init()