mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-01 13:07:49 +02:00
test: apk key name template
refs #3667 Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
cb13b55616
commit
c747445d0b
@ -557,6 +557,12 @@ func TestInvalidTemplate(t *testing.T) {
|
||||
testlib.RequireTemplateError(t, Pipe{}.Run(ctx))
|
||||
})
|
||||
|
||||
t.Run("apk key name", func(t *testing.T) {
|
||||
ctx := makeCtx()
|
||||
ctx.Config.NFPMs[0].APK.Signature.KeyName = "{{ .NOPE_KEY_FILE }}"
|
||||
testlib.RequireTemplateError(t, Pipe{}.Run(ctx))
|
||||
})
|
||||
|
||||
t.Run("bindir", func(t *testing.T) {
|
||||
ctx := makeCtx()
|
||||
ctx.Config.NFPMs[0].Bindir = "/usr/{{ .NOPE }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user