summaryrefslogtreecommitdiff
path: root/human.go
diff options
context:
space:
mode:
Diffstat (limited to 'human.go')
-rw-r--r--human.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/human.go b/human.go
index 80dd04e..1d6a9c5 100644
--- a/human.go
+++ b/human.go
@@ -50,7 +50,7 @@ func (f *Forge) ConfigPrintTable() {
}
}
-func (f *Forge) newestAge(repo *gitpb.Repo) time.Duration {
+func (f *Forge) NewestAge(repo *gitpb.Repo) time.Duration {
all := repo.Tags.SortByAge()
for all.Scan() {
r := all.Next()
@@ -64,7 +64,7 @@ func (f *Forge) StandardReleaseHeader(repo *gitpb.Repo, state string) string {
lastTag := repo.GetLastTag()
// tag := repo.NewestTag()
// gitAge, _ := tag.GetDate()
- dur := f.newestAge(repo)
+ dur := f.NewestAge(repo)
curname := repo.GetCurrentBranchName()
master := repo.GetMasterVersion()