Don't consider prereleases for -upgrade (fixes #436)

This commit is contained in:
Jakob Borg
2014-07-24 12:55:41 +02:00
parent 3640c3b66a
commit b676264fca
2 changed files with 10 additions and 7 deletions

View File

@@ -7,9 +7,9 @@ import (
)
type githubRelease struct {
Tag string `json:"tag_name"`
Prelease bool `json:"prerelease"`
Assets []githubAsset `json:"assets"`
Tag string `json:"tag_name"`
Prerelease bool `json:"prerelease"`
Assets []githubAsset `json:"assets"`
}
type githubAsset struct {