The majority of this repo is MIT licensed, but some parts needed for compiling the solana program are under GPL. The intention is for you to be able to depend on the mango-v4 crate for building closed ...
If there are no breaking changes, simply running release-to-mainnet.sh should suffice.