Version number is parsed from package.json. Before release, the version number have '-dev' postfix.
We should clean 'min' directory before build.