1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-17 01:42:37 +02:00

feat: allow to template signs.stdin

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker
2021-08-23 22:00:44 -03:00
parent f3f77c7e4a
commit 5bdbffc96f
3 changed files with 45 additions and 8 deletions

View File

@ -73,12 +73,12 @@ signs:
- foo
- bar
# Stdin data to be given to the signature command as stdin.
# defaults to empty
stdin: password
# Stdin data template to be given to the signature command as stdin.
# Defaults to empty
stdin: '{{ .Env.GPG_PASSWORD }}'
# StdinFile file to be given to the signature command as stdin.
# defaults to empty
# Defaults to empty
stdin_file: ./.password
```
@ -128,6 +128,7 @@ builds:
hooks:
post: gon gon.hcl
```
**`gon.hcl`:**
```hcl
# The path follows a pattern