From 92ecd33c4ffc83c25c297c849bfde35185b9c04c Mon Sep 17 00:00:00 2001 From: Aditya Garg Date: Sat, 6 May 2023 19:24:46 +0530 Subject: [PATCH] Release split iso --- .github/workflows/CI.yml | 4 +++- build.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 42d4e31..ad6c093 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -88,7 +88,9 @@ jobs: if: github.ref == 'refs/heads/kubuntuMainline' uses: softprops/action-gh-release@v1 with: - files: ${{ github.workspace }}/ISO/*.tar.gz + #files: ${{ github.workspace }}/ISO/*.tar.gz + #files: ${{ github.workspace }}/ISO/*.iso + files: ${{ github.workspace }}/output/* tag_name: v${{ env.isotag }} body_path: ${{ github.workspace }}/.github/workflows/instructions.txt draft: false diff --git a/build.sh b/build.sh index 858924e..814e0f2 100755 --- a/build.sh +++ b/build.sh @@ -85,7 +85,7 @@ do fi ### Zip iso and split it into multiple parts - github max size of release attachment is 2GB, where ISO is sometimes bigger than that cd "${ROOT_PATH}" - zip -s 1500m "${ROOT_PATH}/output/livecd-${KERNEL_VERSION}-${ALTERNATIVE}.zip" "${ROOT_PATH}/kubuntu-23.04-${KERNEL_VERSION}-${ALTERNATIVE}.iso" + zip -s 1500m "${ROOT_PATH}/output/kubuntu-23.04-${KERNEL_VERSION}-${ALTERNATIVE}.zip" "${ROOT_PATH}/kubuntu-23.04-${KERNEL_VERSION}-${ALTERNATIVE}.iso" done ## Calculate sha256 sums of built ISO sha256sum "${ROOT_PATH}"/*.iso >"${ROOT_PATH}/output/sha256"