@property<EOL><INDENT>def label_major_version(self):<DEDENT>
if not self.label:<EOL><INDENT>return None<EOL><DEDENT>return self.label.rsplit("<STR_LIT:.>", <NUM_LIT:1>)[<NUM_LIT:0>]<EOL>
Return major version for a label.

        Examples: Beta-1.2 -> Beta-1, GA -> GA