Skip to content

Commit bde0e6a

Browse files
committed
add RaspberryPi3 to release template and fix release workflow SHA
checksum check.
1 parent 1667c46 commit bde0e6a

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/release-template.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,10 @@ ${CHANGELOG}
1515
## :package: Download:
1616
The following installation archives can be downloaded for different hardware platforms. To verify their integrity a `sha256` checksum is provided as well.
1717

18-
- Intel NUC:
18+
- Generic-x86_64:
1919
<sub>:package: [thinRoot-${VERSION}-generic-x86_64.img](https://github.com/jens-maus/thinRoot/releases/download/${VERSION}/thinRoot-${VERSION}-generic-x86_64.img)<br/>SHA256: XSHAgeneric-x86_64.imgX</sub>
20+
21+
- RaspberryPi3 Model B+, RaspberryPi3 Model B, RaspberryPi3 Model A+, RaspberryPi Compute Module 3, RaspberryPi Compute Module 3 lite, RaspberryPi Zero 2 W:
22+
<sub>:package: [thinRoot-${VERSION}-rpi3.img](https://github.com/jens-maus/thinRoot/releases/download/${VERSION}/thinRoot-${VERSION}-rpi3.img)<br/>SHA256: XSHArpi3.imgX</sub>
23+
<sub>:package: [thinRoot-${VERSION}-rpi3-kernel.img](https://github.com/jens-maus/thinRoot/releases/download/${VERSION}/thinRoot-${VERSION}-rpi3-kernel.img)<br/>SHA256: XSHArpi3-kernel.imgX</sub>
24+
<sub>:package: [thinRoot-${VERSION}-rpi3-sdcard.img](https://github.com/jens-maus/thinRoot/releases/download/${VERSION}/thinRoot-${VERSION}-rpi3-sdcard.img)<br/>SHA256: XSHArpi3-sdcard.imgX</sub>

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ jobs:
240240
run: |
241241
for f in */*.mf; do
242242
while read -r line; do
243-
NEEDLE=$(echo "${line}" | awk '{print $3}' | sed 's/.*-\(.*\..*\)$/\1/')
243+
NEEDLE=$(echo "${line}" | awk '{print $3}' | cut -d'-' -f3-)
244244
SHACKS=$(echo "${line}" | awk '{print $2}')
245245
sed -i "s/XSHA${NEEDLE}X/${SHACKS}/" release-template.md/release-template.md
246246
done < <(cat ${f})

0 commit comments

Comments
 (0)