Work around a crash in Particle firmware 0.7.0 See https://community.carloop.io/t/fixing-the-crash-on-particle-0-7-0-firmware/604
Fix publish script