rewrite installer build script to conform to semantic versioning