Skip to content

Commit ecd7be9

Browse files
committed
add packaging script
1 parent caaedeb commit ecd7be9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

extra/package.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
if [ ! -f platform.txt ]; then
4+
echo Launch this script from the root core folder as ./extras/package.sh VERSION
5+
exit 2
6+
fi
7+
8+
VERSION=$1
9+
10+
tar --exclude=extras/** --exclude=.git* --exclude=build --exclude=venv --exclude=samples -cjhf ../arduino-core-zephyr-llext-${VERSION}.tar.bz2 .

0 commit comments

Comments
 (0)