Skip to content

Commit

Permalink
include hardware-specific readme files in the release .zip
Browse files Browse the repository at this point in the history
  • Loading branch information
ToyKeeper committed Apr 20, 2024
1 parent 5dc58cd commit 72128b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ cp -a \
docs/which-hex-file.md \
"$RELDIR"

# add hardware-specific docs
for f in $(find hw -name '*.md') ; do
d=$(echo "$f" | sed 's/^hw.//; s|/readme||i; s/^/readme./; s|/|-|g;')
cp -a "$f" "$RELDIR/$d"
done

# add the .hex files
rename -f 's|hex/anduril.|'"$RELDIR/hex/$RELNAME"'.|;' hex/*.hex

Expand Down

0 comments on commit 72128b6

Please sign in to comment.