Migration script to add encoded version and release strings for packages