You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-09-16 09:26:52 +02:00
docs
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// Package name provides name template logic for the final archive, formulae,
|
||||
// etc.
|
||||
package name
|
||||
|
||||
import (
|
||||
@@ -16,6 +18,7 @@ type nameData struct {
|
||||
Binary string
|
||||
}
|
||||
|
||||
// For returns the name for the given context, goos, goarch and goarm.
|
||||
func For(ctx *context.Context, goos, goarch, goarm string) (string, error) {
|
||||
var data = nameData{
|
||||
Os: replace(ctx.Config.Archive.Replacements, goos),
|
||||
|
Reference in New Issue
Block a user