mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 00:14:39 +00:00
releaser: Remove unused function
gitLog function is not used
This commit is contained in:
1 parent
ac101aba4f
commit
53da3881de
1 file changed
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user