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

docs: update

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2024-09-12 13:20:59 -03:00
parent 377ced6577
commit 1014db44ff
No known key found for this signature in database
2 changed files with 10 additions and 1 deletions

View File

@ -45,6 +45,14 @@ blobs:
- foo
- bar
# Allows to further filter the artifacts.
#
# Artifacts that do not match this expression will be ignored.
#
# Since: v2.3 (pro).
# Templates: allowed.
if: '{{ eq .Os "linux" }}'
# Path/name inside the bucket.
#
# Default: '{{ .ProjectName }}/{{ .Tag }}'.

View File

@ -53,7 +53,7 @@ In fields that support templates, these fields are always available:
| `.Runtime.Goarch` | equivalent to `runtime.GOARCH` |
| `.Artifacts` | the current artifact list. See table below for fields[^pro] |
[^pro]: This feature is only available in GoReleaser Pro.
[^pro]: This feature is only available in [GoReleaser Pro](/pro).
[^version-prefix]:
The `v` prefix is stripped, and it might be changed in
@ -105,6 +105,7 @@ may have some extra fields:
| `.Mips` | `GOMIPS` |
| `.Amd64` | `GOAMD64` |
| `.Binary` | binary name |
| `.ArtifactID` | archive id (since v2.3[^pro]) |
| `.ArtifactName` | archive name |
| `.ArtifactPath` | absolute path to artifact |
| `.ArtifactExt` | binary extension (e.g. `.exe`) |