1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
goreleaser/internal/pipe/env
Carlos Alexandro Becker 90a82157ca
refactor: improve tmpls that eval to a bool (#3726)
- added a tmpl.Bool that checks if the result of a template is "true"
- added an ErrSkipper interface so Skip() methods can return errors as well

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-28 23:21:43 -03:00
..
env_test.go refactor: improve tmpls that eval to a bool (#3726) 2023-01-28 23:21:43 -03:00
env.go refactor: improve tmpls that eval to a bool (#3726) 2023-01-28 23:21:43 -03:00