From a7c7568d70ced64ed78e2143ef3bf3cde1012635 Mon Sep 17 00:00:00 2001 From: appleboy Date: Sat, 6 May 2023 07:51:54 +0800 Subject: [PATCH] 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 --- .goreleaser.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 2cd5376..b91f731 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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