[tools] Refactor auto_release.pl, extracting common code to sub.
[tools] Add status output to auto_release.pl, showing command currently running.