1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-28 04:44:34 +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 - foo
- bar - 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 # GOAMD64 to specify which amd64 version to use if there are multiple
# versions from the build section. # versions from the build section.
# #

View File

@ -33,6 +33,14 @@ nfpms:
- foo - foo
- bar - 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. # Your app's vendor.
vendor: Drum Roll Inc. vendor: Drum Roll Inc.

View File

@ -3,6 +3,7 @@
GoReleaser Pro is a paid, closed-source GoReleaser distribution with some GoReleaser Pro is a paid, closed-source GoReleaser distribution with some
additional features: additional features:
- [x] Further filter artifacts with `if` statements;
- [x] Easily create `alpine`, `apt`, and `yum` repositories with the - [x] Easily create `alpine`, `apt`, and `yum` repositories with the
[CloudSmith integration](customization/cloudsmith.md); [CloudSmith integration](customization/cloudsmith.md);
- [x] Have [global defaults for homepage, description, etc](customization/metadata.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": { "mod_timestamp": {
"type": "string" "type": "string"
},
"if": {
"type": "string"
} }
}, },
"additionalProperties": false, "additionalProperties": false,
@ -2316,6 +2319,9 @@
}, },
"type": "array" "type": "array"
}, },
"if": {
"type": "string"
},
"formats": { "formats": {
"items": { "items": {
"type": "string", "type": "string",