From 07039b82e3c3de0b4106fc185d39074cae6a0825 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Thu, 4 May 2023 11:58:15 +0800 Subject: [PATCH] ci: improve release process and test coverage (#553) - Add extra_files configuration to .goreleaser.yaml - Include .xz and .xz.sha256 files in the release Signed-off-by: Bo-Yi Wu Reviewed-on: https://gitea.com/gitea/tea/pulls/553 Reviewed-by: Lunny Xiao Reviewed-by: techknowlogick Co-authored-by: Bo-Yi Wu Co-committed-by: Bo-Yi Wu --- .goreleaser.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index bf44ab1..8feeb4c 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -117,5 +117,10 @@ gitea_urls: api: https://gitea.com/api/v1 download: https://gitea.com +release: + extra_files: + - glob: ./**.xz + - glob: ./**.xz.sha256 + # yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json # vim: set ts=2 sw=2 tw=0 fo=cnqoj