From 775ee6ba70d92f966bb2d50a0302bbb40b5f5779 Mon Sep 17 00:00:00 2001 From: yash-zededa Date: Mon, 28 Oct 2024 18:49:15 +0100 Subject: [PATCH] fix: used sha256 to generate the checksum for the rootfs.img Signed-off-by: yash-zededa --- .github/workflows/assets.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index 35d4d05875..c36226a211 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -110,7 +110,7 @@ jobs: for asset in assets/*; do mv "$asset" "assets/${{ env.ARCH }}.$(basename "$asset")" done - md5sum "assets/${{env.ARCH}}.rootfs.img" > assets/"${{env.ARCH}}.rootfs.img.md5" + sha256sum "assets/${{ env.ARCH }}.rootfs.img" | awk '{ print $1 }' > "assets/${{ env.ARCH }}.rootfs.img.sha256" - name: Upload binary to GitHub Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}