From 624859534ebc228cb4aab34e39d0c4f313930cbe Mon Sep 17 00:00:00 2001 From: flx5 <1330854+flx5@users.noreply.github.com> Date: Sun, 3 Oct 2021 21:17:05 +0200 Subject: [PATCH] Include docs in release --- .goreleaser.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index b702f98..8dded6b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -7,7 +7,10 @@ before: hooks: # We strongly recommend running tests to catch any regression before release. # Even though, this an optional step. - # - go test ./... + - go test ./... + # As part of the release doc files are included as a separate deliverable for + # consumption by Packer.io. To include a separate docs.zip uncomment the following command. + - make ci-release-docs builds: # A separated build to run the packer-plugins-check only once for a linux_amd64 binary @@ -73,6 +76,11 @@ signs: - "${artifact}" release: # If you want to manually examine the release before its live, uncomment this line: - draft: true + # draft: true + # As part of the release doc files are included as a separate deliverable for consumption by Packer.io. + # To include a separate docs.zip uncomment the extra_files config and the docs.zip command hook above. + extra_files: + - glob: ./docs.zip + changelog: skip: true