From b40fdced9f91f05dd5f0f35f3494f50ad118d143 Mon Sep 17 00:00:00 2001 From: kendryte747 Date: Wed, 4 Dec 2024 09:34:57 +0800 Subject: [PATCH] Update image md5 file name. --- .github/workflows/build_manual.yml | 2 +- .github/workflows/release.yml | 2 +- tools/gen_image.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_manual.yml b/.github/workflows/build_manual.yml index 24dea49..d844347 100644 --- a/.github/workflows/build_manual.yml +++ b/.github/workflows/build_manual.yml @@ -90,7 +90,7 @@ jobs: tag_name: PreRelease files: | output/**/*.img.gz - output/**/*.img.md5 + output/**/*.img.gz.md5 prerelease: true generate_release_notes: true body_path: prerelease.txt diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b7f8afe..4e9b2c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,6 +77,6 @@ jobs: tag_name: ${{ github.ref_name }} files: | output/**/*.img.gz - output/**/*.img.md5 + output/**/*.img.gz.md5 release_${{ github.ref_name }}.xml generate_release_notes: true diff --git a/tools/gen_image.sh b/tools/gen_image.sh index d0d1fab..42c137f 100755 --- a/tools/gen_image.sh +++ b/tools/gen_image.sh @@ -44,7 +44,7 @@ gen_image() gzip -k -f ${SDK_BUILD_DIR}/${image} chmod a+rw ${SDK_BUILD_DIR}/${image} ${SDK_BUILD_DIR}/${image}.gz; - md5sum ${SDK_BUILD_DIR}/${image} ${SDK_BUILD_DIR}/${image}.gz > ${SDK_BUILD_DIR}/${image}.md5 + md5sum ${SDK_BUILD_DIR}/${image} ${SDK_BUILD_DIR}/${image}.gz > ${SDK_BUILD_DIR}/${image}.gz.md5 } parse_repo_version()