mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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 PR Close #61862
This commit is contained in:
committed by
Paul Gschwendtner
parent
24693ce1ff
commit
e98ef808aa
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user