Skip to content

Commit

Permalink
fix folders in release script
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Feb 9, 2024
1 parent e46c772 commit 5ced06d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/"`
Expand All @@ -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() {
Expand Down

0 comments on commit 5ced06d

Please sign in to comment.