Revert "build: package-build & release scripts should handle new pkg_npm naming (#34589)" (#34730)

This reverts commit 053b23d902.

PR Close #34730
This commit is contained in:
atscott
2020-01-10 13:40:01 -08:00
parent 368ea28e40
commit 0e01d5c5de
3 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ function buildTargetPackages(destPath, enableIvy, description) {
// all carriage return (`\r`) characters form the query output, because otherwise the carriage
// return is part of the bazel target name and bazel will complain.
const getTargetsCmd =
`${bazelCmd} query --output=label "attr('tags', '\\[.*release-with-framework.*\\]', //packages/...) intersect kind('ng_package|pkg_npm', //packages/...)"`;
`${bazelCmd} query --output=label "attr('tags', '\\[.*release-with-framework.*\\]', //packages/...) intersect kind('.*_package', //packages/...)"`;
const targets = exec(getTargetsCmd, true).split(/\r?\n/);
// Use `--config=release` so that snapshot builds get published with embedded version info.