1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00

fix: avoiding double escapes

This commit is contained in:
Carlos Alexandro Becker 2017-12-20 09:55:36 -02:00
parent 65d3c7ad7f
commit f210a28ff9
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -10,7 +10,7 @@ import (
"github.com/goreleaser/goreleaser/internal/artifact" "github.com/goreleaser/goreleaser/internal/artifact"
) )
var deprecatedBinary = regexp.MustCompile("\\{\\{ ?\\.Binary ?\\}\\}") var deprecatedBinary = regexp.MustCompile(`\{\{ ?\.Binary ?\}\}`)
// Apply applies the name template to the given artifact and name // Apply applies the name template to the given artifact and name
// TODO: this should be refactored alongside with other name template related todos // TODO: this should be refactored alongside with other name template related todos