Updating release script to work with Trunk.