mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
docs: since
This commit is contained in:
parent
c2c0403ddc
commit
ed866f0531
@ -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" }}`) |
|
||||
|
Loading…
x
Reference in New Issue
Block a user