From a5399715149bc1da9d2262df74d30010bb8dae59 Mon Sep 17 00:00:00 2001 From: rick <1450685+LinuxSuRen@users.noreply.github.com> Date: Fri, 5 Nov 2021 14:25:24 +0800 Subject: [PATCH] Fix the wrong git tag time --- controllers/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/git.go b/controllers/git.go index 8d7fb13..005d644 100644 --- a/controllers/git.go +++ b/controllers/git.go @@ -192,7 +192,7 @@ func setTag(r *git.Repository, tag, message, user string) (bool, error) { Tagger: &object.Signature{ Name: user, Email: fmt.Sprintf("%s@users.noreply.github.com", user), - When: time.Time{}, + When: time.Now(), }, Message: message, })