xkeypad_streamdeck_zibo_b738/release.sh

13 lines
534 B
Bash
Raw Normal View History

echo Create release
TARGET="Zibo B738 v$1"
rm -rf "release/$TARGET"
mkdir -p "release/$TARGET/Aircraft/B737-800X"
mkdir -p "release/$TARGET/Stream Deck"
mkdir -p "release/$TARGET/Resources/plugins/FlyWithLua/Scripts"
cp -R ./Stream\ Deck/* "release/$TARGET/Stream Deck/"
cp -R ./X-KeyPad/* "release/$TARGET/Aircraft/B737-800X/"
cp -R ./FlyWithLua/* "release/$TARGET/Resources/plugins/FlyWithLua/Scripts"
cp ./README.md "release/$TARGET/"
cp ./Installation.pdf "release/$TARGET/"
7z a -tzip "release/$TARGET.zip" "./release/$TARGET/*"