script/export: update version number generation