mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-21 21:49:15 +01:00
[SC64] Added docs and hw files to release package
This commit is contained in:
parent
03ec3dcc6f
commit
4795e23890
17
build.sh
17
build.sh
@ -4,13 +4,22 @@ set -e
|
|||||||
|
|
||||||
PACKAGE_FILE_NAME="SC64"
|
PACKAGE_FILE_NAME="SC64"
|
||||||
|
|
||||||
FILES=(
|
TOP_FILES=(
|
||||||
"./fw/ftdi/ft232h_config.xml"
|
|
||||||
"./sw/pc/dd64.py"
|
"./sw/pc/dd64.py"
|
||||||
"./sw/pc/primer.py"
|
"./sw/pc/primer.py"
|
||||||
"./sw/pc/requirements.txt"
|
"./sw/pc/requirements.txt"
|
||||||
"./sw/pc/sc64.py"
|
"./sw/pc/sc64.py"
|
||||||
"./sw/update/sc64.upd"
|
"./sw/update/sc64.upd"
|
||||||
|
)
|
||||||
|
|
||||||
|
FILES=(
|
||||||
|
"./docs/*"
|
||||||
|
"./fw/ftdi/ft232h_config.xml"
|
||||||
|
"./hw/pcb/sc64v2.kicad_pcb"
|
||||||
|
"./hw/pcb/sc64v2.kicad_pro"
|
||||||
|
"./hw/pcb/sc64v2.kicad_sch"
|
||||||
|
"./hw/shell/sc64_shell_back.stl"
|
||||||
|
"./hw/shell/sc64_shell_front.stl"
|
||||||
"./LICENSE"
|
"./LICENSE"
|
||||||
"./README.md"
|
"./README.md"
|
||||||
)
|
)
|
||||||
@ -104,7 +113,9 @@ build_release () {
|
|||||||
if [ -e "./${PACKAGE_FILE_NAME}.zip" ]; then
|
if [ -e "./${PACKAGE_FILE_NAME}.zip" ]; then
|
||||||
rm -f "./${PACKAGE_FILE_NAME}.zip"
|
rm -f "./${PACKAGE_FILE_NAME}.zip"
|
||||||
fi
|
fi
|
||||||
zip -j -r "./${PACKAGE_FILE_NAME}.zip" ${FILES[@]}
|
PACKAGE="./${PACKAGE_FILE_NAME}.zip"
|
||||||
|
zip -j -r $PACKAGE ${TOP_FILES[@]}
|
||||||
|
zip -r $PACKAGE ${FILES[@]}
|
||||||
|
|
||||||
BUILT_RELEASE=true
|
BUILT_RELEASE=true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user