Skip to content

Commit 1e6e298

Browse files
committed
aa
1 parent eb859ab commit 1e6e298

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

extras/package.sh

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
if [ ! -f platform.txt ]; then
4+
echo Launch this script from the root core folder as ./extras/package.sh
5+
exit 2
6+
fi
7+
8+
if [ ! -d ../ArduinoCore-API ]; then
9+
git clone [email protected]:arduino/ArduinoCore-API.git ../ArduinoCore-API
10+
fi
11+
12+
13+
VERSION=`cat platform.txt | grep "version=" | cut -f2 -d"="`
14+
echo $VERSION

0 commit comments

Comments
 (0)