copy latest version into repository