code: func (s *releasesService) CreateAndRelease(ctx context.Context, db *gorm.DB, r *Release, ss twelvefactor.StatusStream) (*Release, error) {
  	r, err := s.Create(ctx, db, r)
  	if err != nil {
  		return r, err
  	}
  	// Schedule the new release onto the cluster.
  	return r, s.Release(ctx, r, ss)
  }
docs: // CreateAndRelease creates a new release then submits it to the scheduler.