aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/source.go b/source.go
index 93b5157..490b17c 100644
--- a/source.go
+++ b/source.go
@@ -59,6 +59,8 @@ func (source *Source) Update(sources *Sources, name string, force bool, forcePin
if strings.Contains(source.URLTemplate, "{version}") {
source.URL = strings.ReplaceAll(source.URLTemplate, "{version}", source.Version)
+
+ log.Debugf("patched %s: substituted url template", name)
}
} else {
log.Infof("skipped %s: version remains unchanged", name)
@@ -67,6 +69,8 @@ func (source *Source) Update(sources *Sources, name string, force bool, forcePin
}
}
+ log.Debugf("checking %s: sha256", name)
+
sha256, err := fetchSHA256(source.URL, source.Unpack)
if err != nil {