From 3041240cbc390a312be457a0c74033c6d8562cee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matias=20Niemel=C3=A4?= Date: Wed, 31 Oct 2018 16:01:36 -0700 Subject: [PATCH] build: remove problematic `yarn` prefix for running bazel --- scripts/release/publish-latest | 6 +++--- scripts/release/publish-next | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/release/publish-latest b/scripts/release/publish-latest index 6cbb6f1eaf96e..58842dd9100e3 100755 --- a/scripts/release/publish-latest +++ b/scripts/release/publish-latest @@ -7,12 +7,12 @@ set -u -e -o pipefail # Publish them to npm (tagged next) # query for all npm packages to be released as part of the framework release -NPM_PACKAGE_LABELS=`yarn bazel query --output=label 'attr("tags", "\[.*release-with-framework.*\]", //packages/...) intersect kind(".*_package", //packages/...)'` +NPM_PACKAGE_LABELS=`bazel query --output=label 'attr("tags", "\[.*release-with-framework.*\]", //packages/...) intersect kind(".*_package", //packages/...)'` # build all npm packages in parallel -yarn bazel build $NPM_PACKAGE_LABELS +bazel build $NPM_PACKAGE_LABELS # publish all packages in sequence to make it easier to spot any errors or warnings for packageLabel in $NPM_PACKAGE_LABELS; do echo "publishing $packageLabel" - yarn bazel run -- ${packageLabel}.publish --access public --tag latest + bazel run -- ${packageLabel}.publish --access public --tag latest done diff --git a/scripts/release/publish-next b/scripts/release/publish-next index a272a554c7d4f..6322bbed5f6bc 100755 --- a/scripts/release/publish-next +++ b/scripts/release/publish-next @@ -7,11 +7,11 @@ set -u -e -o pipefail # Publish them to npm (tagged next) # query for all npm packages to be released as part of the framework release -NPM_PACKAGE_LABELS=`yarn bazel query --output=label 'attr("tags", "\[.*release-with-framework.*\]", //packages/...) intersect kind(".*_package", //packages/...)'` +NPM_PACKAGE_LABELS=`bazel query --output=label 'attr("tags", "\[.*release-with-framework.*\]", //packages/...) intersect kind(".*_package", //packages/...)'` # build all npm packages in parallel -yarn bazel build $NPM_PACKAGE_LABELS +bazel build $NPM_PACKAGE_LABELS # publish all packages in sequence to make it easier to spot any errors or warnings for packageLabel in $NPM_PACKAGE_LABELS; do echo "publishing $packageLabel" - yarn bazel run -- ${packageLabel}.publish --access public --tag next + bazel run -- ${packageLabel}.publish --access public --tag next done