From 7a1c43733b6fbcf8e08d5815c1785f7edd48ef0d Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Fri, 30 Mar 2018 15:00:47 -0700 Subject: [PATCH] release: don't include dist when querying for publishable bazel packages (#23102) PR Close #23102 --- scripts/release/publish-next | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release/publish-next b/scripts/release/publish-next index 4304aa93ce..61f299a0ac 100755 --- a/scripts/release/publish-next +++ b/scripts/release/publish-next @@ -6,7 +6,7 @@ set -u -e -o pipefail # Publish all packages in `dist/packages-dist` to npm (as next) # Query Bazel for npm_package and ng_package rules with tags=["release-with-framework"] -for p in $(bazel query --output=label 'attr("tags", "\[.*release-with-framework.*\]", //...) intersect kind(".*_package", //...)'); do +for p in $(bazel query --output=label 'attr("tags", "\[.*release-with-framework.*\]", //...) intersect kind(".*_package", //...) except //dist/...'); do bazel run -- $p.publish --access public --tag next done