code: func encodeRelease(rls *rspb.Release) (string, error) {
  	b, err := proto.Marshal(rls)
  	if err != nil {
  		return "", err
  	}
  	var buf bytes.Buffer
  	w, err := gzip.NewWriterLevel(&buf, gzip.BestCompression)
  	if err != nil {
  		return "", err
  	}
  	if _, err = w.Write(b); err != nil {
  		return "", err
  	}
  	w.Close()
  
  	return b64.EncodeToString(buf.Bytes()), nil
  }
docs: // encodeRelease encodes a release returning a base64 encoded
  // gzipped binary protobuf encoding representation, or error.