Thursday, April 27, 2017

Automatically increment version number in Arduino IDE

1 comment:

  1. Hi, thank you for your script. I enhanced it a little. I've added commands which creates copy of current sketch with build number. I hope it will be useful.

    set sketch=%2\%3
    echo sketch=%sketch%
    set sketchbackup=%2\%3_%version%
    echo sketchbackup=%sketchbackup%
    copy %sketch% %sketchbackup%
    echo "backup created"