mirror of
https://github.com/goreleaser/goreleaser.git
synced 2024-12-27 01:33:39 +02:00
chore: added todo
This commit is contained in:
parent
d355350f63
commit
1a515881b2
@ -84,7 +84,6 @@ func defaults(put *config.Put) {
|
||||
|
||||
// CheckConfig validates a Put configuration returning a descriptive error when appropriate
|
||||
func CheckConfig(ctx *context.Context, put *config.Put, kind string) error {
|
||||
|
||||
if put.Target == "" {
|
||||
return misconfigured(kind, put, "missing target")
|
||||
}
|
||||
@ -341,6 +340,7 @@ func resolveTargetTemplate(ctx *context.Context, put *config.Put, artifact artif
|
||||
}
|
||||
|
||||
if put.Mode == ModeBinary {
|
||||
// TODO: multiple archives here
|
||||
data.Os = replace(ctx.Config.Archive.Replacements, artifact.Goos)
|
||||
data.Arch = replace(ctx.Config.Archive.Replacements, artifact.Goarch)
|
||||
data.Arm = replace(ctx.Config.Archive.Replacements, artifact.Goarm)
|
||||
|
Loading…
Reference in New Issue
Block a user