From afc968adee2f691595ca709cd0ca8a84b7da060f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 3 Oct 2025 10:03:01 -0500 Subject: --version --- Makefile | 2 +- main.go | 2 +- 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() -- cgit v1.2.3