If the muscle is tight or knotty due to nerve irritation, muscle releases can still be performed, but stretching should definitely be avoided. It is difficult to know whether you have nerve irritation or not until it is assessed completely.
As a rule of thumb, If you have consistently stretched a muscle correctly for >3 days and you’ve had no change, then you’ve tried doing muscle releases and there is still no change, then it is likely that there could be nerve involvement.