1
0
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:
Carlos Alexandro Becker 2021-09-28 10:44:55 -03:00
parent 7b44f8da7f
commit 2b646008f4
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -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)
}