Update the release script to handle git subtree command from contrib.