diff --git a/uw_wcms_tools.gitlab.inc b/uw_wcms_tools.gitlab.inc index b3ab57358d288327f419ac322453388a6ec78bfa..43db3aab4ad5142972c7d976d5a5e1fc35bd3628 100644 --- a/uw_wcms_tools.gitlab.inc +++ b/uw_wcms_tools.gitlab.inc @@ -885,21 +885,22 @@ function uw_wcms_tools_gitlab_tag_release(string $namespace, string $path): void } /** - * Return an array of WCMS projects in uw_base_profile composer.json. + * Return an array of WCMS projects in wcms/drupal-recommended-project. * * @return array[] * An array of project arrays with keys 'namespace' and 'path'. */ function uw_wcms_tools_gitlab_get_profile_projects(): array { - // Get composer.json from development branch in uw_base_profile. - $project = uw_wcms_tools_get_project('wcms', 'uw_base_profile'); + // Get composer.json from development branch in + // wcms/drupal-recommended-project. + $project = uw_wcms_tools_get_project('wcms', 'drupal-recommended-project'); $file_path = 'composer.json'; $params = [ 'ref' => uw_wcms_tools_get_branch_default_or_latest($project->id), ]; $composer = uw_wcms_tools_query_gitlab_api('projects/' . $project->id . '/repository/files/' . urlencode($file_path) . '/raw', $params); if ($composer['http_status'] !== 200) { - throw new Exception('Unable to load ' . $file_path . ' from uw_base_profile.'); + throw new Exception('Unable to load ' . $file_path . ' from wcms/drupal-recommended-project.'); } // Make an array of all projects in the 'wcms' group.