1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-15 01:34:21 +02:00

docs: update

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker
2024-10-26 14:06:55 -03:00
parent 244bbf0afe
commit ca5ad8c5ed
3 changed files with 43 additions and 9 deletions

View File

@ -44,6 +44,23 @@ dmg:
# will be built.
extra_files:
- logo.ico
- glob: ./docs/*.md
- glob: ./single_file.txt
# Templates: allowed.
# Note that this only works if glob matches exactly 1 file.
name_template: file.txt
# Additional templated extra files to add to the DMG.
# Those files will have their contents pass through the template engine,
# and its results will be added to the image as it would with the
# extra_files field above.
#
# Since: v2.4 (pro).
# Templates: allowed.
templated_extra_files:
- src: LICENSE.tpl
dst: LICENSE.txt
mode: 0644
# Whether to remove the archives from the artifact list.
# If left as false, your end release will have both the archives and the

View File

@ -241,11 +241,13 @@ uploads:
# Since: v2.1.
extra_files:
- glob: ./path/to/file.txt
- glob: ./docs/*.md
- glob: ./glob/**/to/**/file/**/*
- glob: ./glob/foo/to/bar/file/foobar/override_from_previous
- glob: ./single_file.txt
# Templates: allowed.
name_template: file.txt # note that this only works if glob matches 1 file only
# Note that this only works if glob matches exactly 1 file.
name_template: file.txt
# Additional templated extra files to uploaded.
# Those files will have their contents pass through the template engine,