code: def ReleaseTypeEnum(ctx):
      
      return Enum(
          ctx,
          all=0,
          selected=3,
          sametype=4,
          notselected=5,
          inversetype=6,
          default=Pass
      )
docs: Types of Releases.