Add support for naming release and builds accordingly when given a git ref for a pretest (90 or above patch number) or release candidate ("-rcX" at the end of the tag).