The secretion of sex hormones by the adrenal gland.