mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-04 03:11:55 +02:00
fix: add a debug log on git config
refs #2537 Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
7b44f8da7f
commit
2b646008f4
@ -6,6 +6,7 @@ import (
|
||||
"net/url"
|
||||
"strings"
|
||||
|
||||
"github.com/apex/log"
|
||||
"github.com/goreleaser/goreleaser/pkg/config"
|
||||
)
|
||||
|
||||
@ -18,6 +19,7 @@ func ExtractRepoFromConfig() (result config.Repo, err error) {
|
||||
if err != nil {
|
||||
return result, fmt.Errorf("no remote configured to list refs from")
|
||||
}
|
||||
log.Debugf("got raw git url: %q", out)
|
||||
return ExtractRepoFromURL(out)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user