mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
build: correct the query for discovering all releasable packages (#61879)
Update the bazel query for finding all releasable packages to look for all targets with the name `npm_package` that contain the expected tag. PR Close #61879
This commit is contained in:
parent
9a03000cdf
commit
b839d08a75
1 changed files with 2 additions and 2 deletions
|
|
@ -26,8 +26,8 @@ const releaseTargetTag = 'release-with-framework';
|
|||
|
||||
/** Command that queries Bazel for all release package targets. */
|
||||
const queryPackagesCmd =
|
||||
`${bazelCmd} query --output=label "attr('tags', '\\[.*${releaseTargetTag}.*\\]', //packages/...) ` +
|
||||
`intersect kind('ng_package|pkg_npm', //packages/...)"`;
|
||||
`${bazelCmd} query --output=label "filter(':npm_package$', ` +
|
||||
`attr('tags', '\\[.*${releaseTargetTag}.*\\]', //packages/...))"`;
|
||||
|
||||
/** Path for the default distribution output directory. */
|
||||
const defaultDistPath = join(projectDir, 'dist/packages-dist');
|
||||
|
|
|
|||
Loading…
Reference in a new issue