aboutsummaryrefslogtreecommitdiff
path: root/bin/make-release.sh
diff options
context:
space:
mode:
authorSelene ToyKeeper2024-04-20 08:19:58 -0600
committerSelene ToyKeeper2024-04-20 08:19:58 -0600
commit72128b62aae51c5747c8cc21e5113e145c66b9c7 (patch)
tree17fd122b7878d2e66b3e274959638a6f76563c3e /bin/make-release.sh
parentadded change log for 2024-04-20 release (diff)
downloadanduril-72128b62aae51c5747c8cc21e5113e145c66b9c7.tar.gz
anduril-72128b62aae51c5747c8cc21e5113e145c66b9c7.tar.bz2
anduril-72128b62aae51c5747c8cc21e5113e145c66b9c7.zip
include hardware-specific readme files in the release .zip
Diffstat (limited to '')
-rwxr-xr-xbin/make-release.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/make-release.sh b/bin/make-release.sh
index 66216b5..6618005 100755
--- a/bin/make-release.sh
+++ b/bin/make-release.sh
@@ -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