1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

docs: since

This commit is contained in:
Carlos Alexandro Becker 2024-09-07 11:19:56 -03:00
parent c2c0403ddc
commit ed866f0531
No known key found for this signature in database

View File

@ -37,7 +37,7 @@ In fields that support templates, these fields are always available:
| `.IsDraft` | `true` if `release.draft` is set in the configuration, `false` otherwise |
| `.IsSnapshot` | `true` if `--snapshot` is set, `false` otherwise |
| `.IsNightly` | `true` if `--nightly` is set, `false` otherwise |
| `.IsSingleTarget` | `true` if `--single-target` is set, `false` otherwise |
| `.IsSingleTarget` | `true` if `--single-target` is set, `false` otherwise (since v2.3) |
| `.Env` | a map with system's environment variables |
| `.Date` | current UTC date in RFC 3339 format |
| `.Now` | current UTC date as `time.Time` struct, allows all `time.Time` functions (e.g. `{{ .Now.Format "2006" }}`) |