Add release script adapted from CFFI's