This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch podling
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git


The following commit(s) were added to refs/heads/podling by this push:
     new 99845337 ci(goreleaser): add licenses file to release
99845337 is described below

commit 99845337ee89d28bc945008be93404bf884b0498
Author: LinkinStars <[email protected]>
AuthorDate: Tue Nov 7 10:42:10 2023 +0800

    ci(goreleaser): add licenses file to release
---
 .goreleaser.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index d5e7631a..dd65994f 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -56,6 +56,13 @@ builds:
 archives:
   - name_template: >-
       apache-answer-{{ .Version }}-incubating-{{ .Os }}-{{ .Arch }}
+    files:
+      - src: "docs/release/LICENSE"
+        dst: LICENSE
+      - src: "docs/release/NOTICE"
+        dst: NOTICE
+      - src: "docs/release/licenses/*"
+        dst: licenses/
 checksum:
   name_template: 'checksums.txt'
 snapshot:

Reply via email to