Update aws release script to change git branches automatically