From 0fd869686036caf5c07a2e887b8de94faba3aa04 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 18 Jun 2026 18:18:52 +0200 Subject: [PATCH] .github: drop .sha256 sidecar files from releases GitHub now publishes a sha256 checksum for each release asset, so the separately generated .sha256 files are redundant. Signed-off-by: Joachim Wiberg --- .github/workflows/build-boot.yml | 8 +------- .github/workflows/build-image.yml | 11 +---------- .github/workflows/publish.yml | 8 +------- .github/workflows/release.yml | 13 +------------ .github/workflows/weekly.yml | 13 +------------ 5 files changed, 5 insertions(+), 48 deletions(-) diff --git a/.github/workflows/build-boot.yml b/.github/workflows/build-boot.yml index 05bcdf99..3678df4b 100644 --- a/.github/workflows/build-boot.yml +++ b/.github/workflows/build-boot.yml @@ -113,12 +113,6 @@ jobs: pattern: "artifact-*" merge-multiple: true - - name: Create checksums ... - run: | - for file in *.tar.gz; do - sha256sum $file > $file.sha256 - done - - uses: ncipollo/release-action@v1 with: allowUpdates: true @@ -128,7 +122,7 @@ jobs: prerelease: true tag: "latest-boot" token: ${{ secrets.GITHUB_TOKEN }} - artifacts: "*.tar.gz*" + artifacts: "*.tar.gz" - name: Summary run: | diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index af7b6f67..39a08bda 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -223,15 +223,6 @@ jobs: output/images/*-emmc.img* retention-days: 30 - - name: Create checksums - run: | - cd output/images/ - for file in *-sdcard.img *-emmc.img; do - if [ -f "$file" ]; then - sha256sum "$file" > "$file.sha256" - fi - done - - name: Upload to release uses: ncipollo/release-action@v1 with: @@ -242,7 +233,7 @@ jobs: prerelease: true tag: "latest-boot" token: ${{ secrets.GITHUB_TOKEN }} - artifacts: "output/images/*-sdcard.img*,output/images/*-emmc.img*" + artifacts: "output/images/*-sdcard.img,output/images/*-emmc.img" - name: Generate summary run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 555c72b9..c56fafd0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,12 +16,6 @@ jobs: pattern: "artifact-*" merge-multiple: true - - name: Create checksums ... - run: | - for file in *.tar.gz; do - sha256sum $file > $file.sha256 - done - - uses: ncipollo/release-action@v1 with: allowUpdates: true @@ -32,7 +26,7 @@ jobs: prerelease: true tag: "latest" token: ${{ secrets.GITHUB_TOKEN }} - artifacts: "*.tar.gz*" + artifacts: "*.tar.gz" - name: Summary run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b6b093b0..7de5995f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,17 +83,6 @@ jobs: pattern: "artifact-*" merge-multiple: true - - name: Create checksums ... - run: | - for file in *.tar.gz; do - sha256sum $file > $file.sha256 - done - if ls *.qcow2 &>/dev/null; then - for file in *.qcow2; do - sha256sum "$file" > "$file.sha256" - done - fi - - name: Extract ChangeLog entry ... run: | cat doc/ChangeLog.md | ./utils/extract-changelog.sh > release.md @@ -106,7 +95,7 @@ jobs: makeLatest: ${{ steps.rel.outputs.latest }} discussionCategory: ${{ steps.rel.outputs.cat }} bodyFile: release.md - artifacts: "*.tar.gz*,*.qcow2*" + artifacts: "*.tar.gz,*.qcow2" - name: Summary run: | diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index 0cc25998..15871825 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -27,17 +27,6 @@ jobs: pattern: "artifact-*" merge-multiple: true - - name: Create checksums - run: | - for file in *.tar.gz; do - sha256sum $file > $file.sha256 - done - if ls *.qcow2 &>/dev/null; then - for file in *.qcow2; do - sha256sum "$file" > "$file.sha256" - done - fi - - uses: ncipollo/release-action@v1 with: tag: latest @@ -54,7 +43,7 @@ jobs: **Commit:** ${{ github.sha }} **Built:** ${{ github.run_id }} - artifacts: "*.tar.gz*,*.qcow2*" + artifacts: "*.tar.gz,*.qcow2" - name: Summary run: |