1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
This commit is contained in:
Carlos Alexandro Becker 2016-12-31 16:47:52 -02:00
parent 32866be87c
commit fdd582cd0f
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -119,10 +119,10 @@ func dataFor(config config.ProjectConfig, client *github.Client) (result templat
if err != nil {
return result, err
}
if rep.Homepage == nil {
homepage = *rep.HTMLURL
} else {
if rep.Homepage != nil && *rep.Homepage != "" {
homepage = *rep.Homepage
} else {
homepage = *rep.HTMLURL
}
if rep.Description == nil {
description = "TODO"