release: improve page load performance

Previously, we load all releases of a repository which could hurt
performance when the repository has a lot of releases.

Now we're able to only load releases in current page view we need
to show by matching with 'tag_name'.
This commit is contained in:
Unknwon
2017-03-10 14:12:46 -05:00
parent 22882d7c04
commit 451aef7a1c
7 changed files with 120 additions and 75 deletions

View File

@@ -10,7 +10,7 @@ import (
"time"
)
const _VERSION = "0.4.12"
const _VERSION = "0.4.13"
func Version() string {
return _VERSION