Skip to content

Commit

Permalink
added linux build script
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Sep 26, 2023
1 parent 5eb65ff commit 487c4f5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions make_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash
zip=`which zip`
echo "Which version would you like to release? (i.e 0.3.1) "
read version
folder="./Releases/dcs-bios-arduino-library-"$version
if [ -d $folder ]; then
rm -rf $folder
fi
mkdir -p $folder
cp -r ./examples $folder
cp -r ./src $folder
cp ./keywords.txt $folder
cp ./library.properties $folder
cp ./LICENSE $folder
cp ./*.md $folder
cd $folder
zip dcs-bios-arduino-library-$version.zip *
mv dcs-bios-arduino-library-$version.zip ../
cd ../..
rm -rf $folder

0 comments on commit 487c4f5

Please sign in to comment.