1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-16 03:52:12 +02:00

docs: update

This commit is contained in:
Carlos Alexandro Becker 2024-10-14 23:50:45 -03:00
parent 2b73005369
commit 7f50679c4b
No known key found for this signature in database
4 changed files with 23 additions and 0 deletions

View File

@ -26,6 +26,14 @@ dmg:
- foo
- bar
# Allows to further filter the artifacts.
#
# Artifacts that do not match this expression will be ignored.
#
# Since: v2.4 (pro).
# Templates: allowed.
if: '{{ eq .Os "linux" }}'
# GOAMD64 to specify which amd64 version to use if there are multiple
# versions from the build section.
#

View File

@ -33,6 +33,14 @@ nfpms:
- foo
- bar
# Allows to further filter the artifacts.
#
# Artifacts that do not match this expression will be ignored.
#
# Since: v2.4 (pro).
# Templates: allowed.
if: '{{ eq .Os "linux" }}'
# Your app's vendor.
vendor: Drum Roll Inc.

View File

@ -3,6 +3,7 @@
GoReleaser Pro is a paid, closed-source GoReleaser distribution with some
additional features:
- [x] Further filter artifacts with `if` statements;
- [x] Easily create `alpine`, `apt`, and `yum` repositories with the
[CloudSmith integration](customization/cloudsmith.md);
- [x] Have [global defaults for homepage, description, etc](customization/metadata.md);

6
www/docs/static/schema-pro.json generated vendored
View File

@ -1018,6 +1018,9 @@
},
"mod_timestamp": {
"type": "string"
},
"if": {
"type": "string"
}
},
"additionalProperties": false,
@ -2316,6 +2319,9 @@
},
"type": "array"
},
"if": {
"type": "string"
},
"formats": {
"items": {
"type": "string",