Add publish configuration to build script.