Skip to content

Commit

Permalink
Merge pull request #23 from LinuxSuRen/fix-git-tag-time
Browse files Browse the repository at this point in the history
Fix the wrong git tag time
  • Loading branch information
LinuxSuRen authored Nov 5, 2021
2 parents bc90fbb + a539971 commit 7ebe5e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down

0 comments on commit 7ebe5e1

Please sign in to comment.