mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
feat: Add ability to specify release name
TODO: factor all the name stuff into a function like the others, so maybe setNameDefaults(ctx), etc. Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
This commit is contained in:
parent
973356694a
commit
31511b9b77
@ -32,7 +32,7 @@ func (Pipe) Description() string {
|
||||
}
|
||||
|
||||
// Run the pipe
|
||||
func (Pipe) Run(ctx *context.Context) error {
|
||||
func (Pipe) Run(ctx *context.Context) error { // nolint: gocyclo
|
||||
ctx.Config.Dist = "dist"
|
||||
if ctx.Config.Release.NameTemplate == "" {
|
||||
ctx.Config.Release.NameTemplate = ReleaseNameTemplate
|
||||
|
Loading…
Reference in New Issue
Block a user