Browse Source

Save firmware images in subfolders

fastled
Xose Pérez 7 years ago
parent
commit
798341a785
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      code/build.sh

+ 2
- 1
code/build.sh View File

@ -42,9 +42,10 @@ node node_modules/gulp/bin/gulp.js || exit
# Build all the required firmwares # Build all the required firmwares
echo "--------------------------------------------------------------" echo "--------------------------------------------------------------"
echo "Building firmware images..." echo "Building firmware images..."
mkdir -p firmware/espurna-$version
for environment in $environments; do for environment in $environments; do
echo "* espurna-$version-$environment.bin" echo "* espurna-$version-$environment.bin"
platformio run -s -e $environment || exit platformio run -s -e $environment || exit
mv .pioenvs/$environment/firmware.bin firmware/espurna-$version-$environment.bin
mv .pioenvs/$environment/firmware.bin firmware/espurna-$version/espurna-$version-$environment.bin
done done
echo "--------------------------------------------------------------" echo "--------------------------------------------------------------"

Loading…
Cancel
Save