summaryrefslogtreecommitdiffstats
path: root/releaser/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'releaser/git.go')
-rw-r--r--releaser/git.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/releaser/git.go b/releaser/git.go
index 19cf072ee..7d2d43e2a 100644
--- a/releaser/git.go
+++ b/releaser/git.go
@@ -85,7 +85,7 @@ func gitInfosToChangeLog(infos, docInfos gitInfos) *changeLog {
for _, info := range infos {
los := strings.ToLower(info.Subject)
isFix := strings.Contains(los, "fix")
- var category = otherChanges
+ category := otherChanges
// TODO(bep) improve
if regexp.MustCompile("(?i)deprecate").MatchString(los) {
@@ -176,7 +176,6 @@ func (c countribCount) AuthorLink() string {
}
return c.Author[:strings.Index(c.Author, "@")]
-
}
type contribCounts []countribCount
@@ -298,7 +297,6 @@ func gitShort(args ...string) (output string, err error) {
func tagExists(tag string) (bool, error) {
out, err := git("tag", "-l", tag)
-
if err != nil {
return false, err
}