From 5ced06d87ae46499632cef17997ab1c3108b0745 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Fri, 9 Feb 2024 19:04:50 +0000 Subject: [PATCH] fix folders in release script --- scripts/release.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index bd003053..12d7ca07 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -3,7 +3,14 @@ # This is run from the GitHub Action, but can be also run locally to see if everything builds correctly. # -FOLDERS="aici_abi uppercase pyctrl jsctrl declctrl aicirt" +FOLDERS=" +controllers/aici_abi +controllers/declctrl +controllers/jsctrl +controllers/pyctrl +controllers/uppercase +aicirt +" NATIVE="$(uname -s | tr 'A-Z' 'a-z')-$(uname -m)" D=`date +%Y%m%d-%H%M` TAG=`git describe --dirty --tags --match 'v[0-9]*' --always | sed -e 's/^v//; s/-dirty/-'"$D/"` @@ -20,7 +27,7 @@ set -e for f in $FOLDERS ; do echo "Build $f..." - (cd controllers/$f && cargo build --release) + (cd $f && cargo build --release) done function release() {