diff options
| author | SiteRelEnby | 2024-04-20 14:28:02 -0500 |
|---|---|---|
| committer | SiteRelEnby | 2024-04-20 14:28:02 -0500 |
| commit | cf3d68ce31ca47eab4980e8b07a44345ea44cebc (patch) | |
| tree | 8a83bc31998f8121d9b07994adb8261066959a84 /bin | |
| parent | Add a feature to make RGB voltage configurable (diff) | |
| parent | include hardware-specific readme files in the release .zip (diff) | |
| download | anduril-cf3d68ce31ca47eab4980e8b07a44345ea44cebc.tar.gz anduril-cf3d68ce31ca47eab4980e8b07a44345ea44cebc.tar.bz2 anduril-cf3d68ce31ca47eab4980e8b07a44345ea44cebc.zip | |
Merge branch 'main' into rgb-voltage-configurable
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/make-release.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/make-release.sh b/bin/make-release.sh index da985d1..6618005 100755 --- a/bin/make-release.sh +++ b/bin/make-release.sh @@ -18,9 +18,7 @@ cd "$REPODIR" #make # release name -#REV=$(date +'%Y-%m-%d') -REV=$(git describe --tags --dirty --match='r2*') -REV="${REV:1}" # convert 'r2023-...' to '2023-...' +REV=$(bin/version-string.sh git) # allow manually specifying a release name [[ -n "$1" ]] && REV="$1" @@ -42,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 |
