diff --git a/www/docs/customization/blob.md b/www/docs/customization/blob.md index 62ba62f34..26c6385bf 100644 --- a/www/docs/customization/blob.md +++ b/www/docs/customization/blob.md @@ -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 }}'. diff --git a/www/docs/customization/templates.md b/www/docs/customization/templates.md index 32a62f456..af9b87e7a 100644 --- a/www/docs/customization/templates.md +++ b/www/docs/customization/templates.md @@ -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`) |