But regardless once escalated by legal there have been a process to mitigate this, so either the director fired the OP or someone higher. The direct manger would be not really in the decision making here. There is a clear path to release open source at G, and it seems it wasnt followed. The OP claimed that its confusing, but it isn't - usual the launch tool to get the approval and you covered your bases. If the OP didnt have all launch approvals after 7 years at G, wow thats on him. If the OP actually had all the launch approvals then he has an actually big case against G.
Launch approvals are for all product - internal and external, it usually requires L8+ (Director) levels approvals.