tools/release.js & minor and patch make targets

For issue #36
It seems that you can remove tmp file at all.