mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
url fix
This commit is contained in:
parent
32866be87c
commit
fdd582cd0f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user