1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/internal/tmpl
Carlos Alexandro Becker b1c8e9f25b
feat: added IsNightly to OSS template variables
This should make it easier to use the same config file with both oss and
pro versions when only the nightly feature is used, e.g. in #3501.

Currently, that would fail because `IsNightly` is not a template field,
so you won't really be able to do it without keeping a second
`.goreleaser.yml` file. With this change, `IsNightly` always eval to
false on OSS, and keeps working as before on Pro.
2023-06-06 01:07:26 -03:00
..
tmpl_test.go feat: added IsNightly to OSS template variables 2023-06-06 01:07:26 -03:00
tmpl.go feat: added IsNightly to OSS template variables 2023-06-06 01:07:26 -03:00