File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ echo "renaming bin files with the board name"
44rename -v ' s:/:-:g' .pio/build/* /* .bin
55mkdir toDeploy
66rename ' s/.pio-build-//' .* .bin
7- # don't publish binaries for *-all and *-test env
8- rm * -all.bin * -test.bin
97(
108 cd .pio/libdeps
119 echo " replace space by _ in folder names"
@@ -15,12 +13,11 @@ rm *-all.bin *-test.bin
1513 do
1614 zip -r " ${i%/ } -libraries.zip" " $i "
1715 done
18- # don't publish libraries for *-test env
19- rm * -test.zip
2016 ls -lA
2117 mv * .zip ../../toDeploy
2218)
23-
19+ # remove binaries for *-all*, *-test* env and only zip containing *-test*
20+ rm -f * -all* .bin * -test* .bin * -test* .zip
2421echo " zipping code and licence"
2522zip -r OpenMQTTGateway_sources.zip main LICENSE.txt
2623mv * .zip toDeploy
You can’t perform that action at this time.
0 commit comments