commit 53da3881debbd5e2e325372d3d1ddd37bc9dc602
parent ac101aba4fde02dc8273a3f06a3b4267ca501a3d
Author: peaceiris <30958501+peaceiris@users.noreply.github.com>
Date: Sat, 20 Jul 2019 18:46:13 +0900
releaser: Remove unused function
gitLog function is not used
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/releaser/git.go b/releaser/git.go
@@ -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