Merge pull request #2599 from LaurentGoderre/v3.0

Added the post build environment variable and the v4.0 to the supported branches
Fixed the post build condition
Merge branch 'v3.0'