Converted the post build scripts to grunt/node
Fixes #6135
Merge pull request #6146 from LaurentGoderre/convert-post-build

Converted the post build scripts to grunt/node