[mike@mwxm4]

This commit is contained in:
2026-08-11 11:40:32 +02:00
parent 113527f220
commit 39f5b48d94
14 changed files with 719 additions and 39 deletions
+3 -5
View File
@@ -169,15 +169,13 @@ func handleRelease(args string) {
return
}
targets, incomplete := cfg.mirrorTargets()
configured, incomplete := cfg.mirrorTargets()
for _, n := range incomplete {
errorln("remote " + n + ": url or key missing — skipped")
}
targets = pickRemotes(targets, names)
targets := pickRemotes(configured, names)
if len(targets) == 0 {
if len(names) == 0 { // an unknown @name already reported itself
errorln("release needs a mirror target — see 'config'")
}
reportNoTargets("release", configured, names)
return
}