Merge pull request #1056 from LaurentGoderre/v3.0

Updated the post build script keep the root files of the dit branch up to date
Used a temp folder for the post build dist branches