From dc8587d1544907c458ce690e4ec31ae609c81966 Mon Sep 17 00:00:00 2001 From: Jonathan Knight Date: Fri, 21 Feb 2025 16:03:49 +0300 Subject: [PATCH 1/2] Add docs.zip to release --- .github/workflows/release.yml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 418ea106a..afb1bf46a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -170,6 +170,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: /tmp/coherence-operator/_output/docs.tar.gz + asset_path: /tmp/coherence-operator/_output/docs.zip asset_name: docs.tar.gz - asset_content_type: application/tar+gzip + asset_content_type: application/zip diff --git a/Makefile b/Makefile index 09f6d4a48..baeb80a63 100644 --- a/Makefile +++ b/Makefile @@ -2579,7 +2579,7 @@ docs: api-doc-gen mkdir -p $(BUILD_OUTPUT)/docs/images/images cp -R docs/images/* build/_output/docs/images/ find examples/ -name \*.png -exec cp {} build/_output/docs/images/images/ \; - tar -C $(BUILD_OUTPUT) -czvf $(BUILD_OUTPUT)/docs.tar.gz ./docs + cd $(BUILD_OUTPUT)/docs && zip -r $(BUILD_OUTPUT)/docs.zip * # ---------------------------------------------------------------------------------------------------------------------- # Test the documentation. From d15a0ffc1853454196657f360920a7dba422c2bf Mon Sep 17 00:00:00 2001 From: Jonathan Knight Date: Fri, 21 Feb 2025 16:04:14 +0300 Subject: [PATCH 2/2] Add docs.zip to release --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afb1bf46a..40426bc4f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -171,5 +171,5 @@ jobs: with: upload_url: ${{ github.event.release.upload_url }} asset_path: /tmp/coherence-operator/_output/docs.zip - asset_name: docs.tar.gz + asset_name: docs.zip asset_content_type: application/zip