Release split iso

This commit is contained in:
Aditya Garg 2023-05-06 19:24:46 +05:30
parent e932cdf6d8
commit 92ecd33c4f
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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"