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:
parent
65d3c7ad7f
commit
f210a28ff9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user