packaging(openwrt): publish checksums-openwrt.txt alongside .ipk artifacts

The linux/macos/windows package workflows each publish a
checksums-<platform>.txt sha256 file with their release artifacts, but
the OpenWrt workflow attached only the .ipk files with no checksum
coverage. Generate checksums-openwrt.txt over the .ipk outputs using the
same sha256sum idiom as the other platforms and add it to the release
file set.
This commit is contained in:
Johnathan Corgan
2026-06-14 21:16:00 +00:00
parent 289e5f8571
commit 3749853716

View File

@@ -524,8 +524,18 @@ jobs:
path: dist
merge-multiple: true
- name: Generate OpenWrt release checksums
run: |
cd dist
find . -maxdepth 1 -type f -name '*.ipk' -printf '%P\n' \
| LC_ALL=C sort \
| xargs sha256sum \
> checksums-openwrt.txt
- name: Create release
uses: softprops/action-gh-release@v2
with:
files: dist/*.ipk
files: |
dist/*.ipk
dist/checksums-openwrt.txt
generate_release_notes: true