mirror of
https://github.com/jmcorgan/fips.git
synced 2026-07-30 19:46:15 +00:00
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:
@@ -524,8 +524,18 @@ jobs:
|
|||||||
path: dist
|
path: dist
|
||||||
merge-multiple: true
|
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
|
- name: Create release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
files: dist/*.ipk
|
files: |
|
||||||
|
dist/*.ipk
|
||||||
|
dist/checksums-openwrt.txt
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
|
|||||||
Reference in New Issue
Block a user