name

package
v0.35.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package name provides name template logic for the final archive, formulae, etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func For

func For(ctx *context.Context, target buildtarget.Target) (string, error)

For returns the name for the given context, goos, goarch and goarm.

func ForBuild added in v0.23.0

func ForBuild(ctx *context.Context, build config.Build, target buildtarget.Target) (string, error)

ForBuild return the name for the given context, goos, goarch, goarm and build, using the build.Binary property instead of project_name.

func ForChecksums added in v0.30.4

func ForChecksums(ctx *context.Context) (string, error)

ForChecksums returns the filename for the checksums file based on its template

func ForTitle added in v0.34.5

func ForTitle(ctx *context.Context) (string, error)

ForTitle returns the release title based upon its template

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL