Skip to content

Commit

Permalink
Align with future 5.1 version
Browse files Browse the repository at this point in the history
  • Loading branch information
andrivet committed Nov 15, 2021
1 parent fa17baf commit 31afb95
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Scripts/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@ echo "***** Generate other microSD images..."
echo
echo "***** Compile Mainboard firmwares..."
echo
platformio -f -c clion run -d "${advi3pp}" -e advi3pp-51 -e advi3pp-51-bltouch -e advi3pp-52c -e advi3pp-52c-bltouch -e advi3pp-54
platformio -f -c clion run -d "${advi3pp}" -e advi3pp_51 -e advi3pp_51_bltouch -e advi3pp_52c -e advi3pp_52c_bltouch -e advi3pp_54
ret=$?; if [[ $ret != 0 ]]; then exit $ret; fi

echo
echo "***** Copy Mainboard firmwares..."
echo
cp "${advi3pp}/.pioenvs/advi3pp-51/firmware.hex" "${release}/ADVi3pp-Mainboard-51-${version}.hex" && \
cp "${advi3pp}/.pioenvs/advi3pp-51-bltouch/firmware.hex" "${release}/ADVi3pp-Mainboard-51-BLTouch-${version}.hex"
cp "${advi3pp}/.pioenvs/advi3pp-52c/firmware.hex" "${release}/ADVi3pp-Mainboard-52c-${version}.hex"
cp "${advi3pp}/.pioenvs/advi3pp-52c-bltouch/firmware.hex" "${release}/ADVi3pp-Mainboard-52c-BLTouch-${version}.hex"
cp "${advi3pp}/.pioenvs/advi3pp-54/firmware.hex" "${release}/ADVi3pp-Mainboard-54-${version}.hex"
cp "${advi3pp}/.pioenvs/advi3pp_51/firmware.hex" "${release}/ADVi3pp-Mainboard-51-${version}.hex" && \
cp "${advi3pp}/.pioenvs/advi3pp_51_bltouch/firmware.hex" "${release}/ADVi3pp-Mainboard-51-BLTouch-${version}.hex"
cp "${advi3pp}/.pioenvs/advi3pp_52c/firmware.hex" "${release}/ADVi3pp-Mainboard-52c-${version}.hex"
cp "${advi3pp}/.pioenvs/advi3pp_52c_bltouch/firmware.hex" "${release}/ADVi3pp-Mainboard-52c-BLTouch-${version}.hex"
cp "${advi3pp}/.pioenvs/advi3pp_54/firmware.hex" "${release}/ADVi3pp-Mainboard-54-${version}.hex"
ret=$?; if [[ $ret != 0 ]]; then exit $ret; fi

echo
Expand Down

0 comments on commit 31afb95

Please sign in to comment.