@@ -53,7 +53,7 @@ func createTag(gitRepo *git.Repository, rel *models.Release) error { | |||
} | |||
rel.Sha1 = commit.ID.String() | |||
rel.CreatedUnix = timeutil.TimeStamp(commit.Author.When.Unix()) | |||
rel.CreatedUnix = timeutil.TimeStampNow() | |||
rel.NumCommits, err = commit.CommitsCount() | |||
if err != nil { | |||
return fmt.Errorf("CommitsCount: %v", err) |