feat: improve API usage and test coverage across platforms

- Add an option to include extra pre-existing files in the release with a specified file format (`.xz`)

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy 2023-05-06 07:51:54 +08:00
parent bc8c96633a
commit a7c7568d70
1 changed files with 9 additions and 0 deletions

View File

@ -82,3 +82,12 @@ checksum:
snapshot:
name_template: "{{ incpatch .Version }}"
release:
# You can add extra pre-existing files to the release.
# The filename on the release will be the last part of the path (base).
# If another file with the same name exists, the last one found will be used.
#
# Templates: allowed
extra_files:
- glob: ./**.xz