Change pre-release flag to release type descriptor

The third value now describes the kind of release, rather than a Boolean specifying if it's just a prerelease or not.