releaser: Remove unused function

gitLog function is not used
This commit is contained in:
peaceiris authored and Bjørn Erik Pedersen committed 2019-07-20 12:33:30 +02:00
1 parent ac101aba4f
commit 53da3881de
1 file changed
-4
-4
View File
@@ -291,10 +291,6 @@ func gitVersionTagBefore(ref string) (string, error) {
return gitShort("describe", "--tags", "--abbrev=0", "--always", "--match", "v[0-9]*", ref+"^")
}
func gitLog() (string, error) {
return gitLogBefore("HEAD", "", "")
}
func gitShort(args ...string) (output string, err error) {
output, err = git(args...)
return strings.Replace(strings.Split(output, "\n")[0], "'", "", -1), err