Skip to content

Commit

Permalink
fix: add a debug log on git config
Browse files Browse the repository at this point in the history
refs #2537

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Sep 28, 2021
1 parent 7b44f8d commit 2b64600
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/git/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"net/url"
"strings"

"github.com/apex/log"
"github.com/goreleaser/goreleaser/pkg/config"
)

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

Expand Down

0 comments on commit 2b64600

Please sign in to comment.