use platform instead of release type