Un-hardcode various parts of release process