TOOLS(build/release): improve script to handle OSX and Linux releases

 - improve the flow

Issue #80