summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-03 10:03:01 -0500
committerJeff Carr <[email protected]>2025-10-03 10:03:01 -0500
commitafc968adee2f691595ca709cd0ca8a84b7da060f (patch)
treea028ce4928ab96e0c33b02fdbd6730d81627ed7c
parent071b451c9840010e648c673ddca36d4f4cdb724c (diff)
--version
-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()