put version task before minify; check version validity before release.