From c4695bb387ea87a1988c17ab7fe6fd890075cf22 Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Thu, 31 Oct 2019 09:15:25 -0700 Subject: [PATCH] build: ensure that version stamping is applied when the npm_package publish action is called (#33512) PR Close #33512 --- scripts/release/publish-latest | 2 +- scripts/release/publish-next | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/release/publish-latest b/scripts/release/publish-latest index f3b46e804a..d811b4c165 100755 --- a/scripts/release/publish-latest +++ b/scripts/release/publish-latest @@ -20,6 +20,6 @@ $BAZEL build --config=release $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" - $BAZEL run -- ${packageLabel}.publish --access public --tag latest + $BAZEL run --config=release -- ${packageLabel}.publish --access public --tag latest done diff --git a/scripts/release/publish-next b/scripts/release/publish-next index 321bbc6403..c0c611a67d 100755 --- a/scripts/release/publish-next +++ b/scripts/release/publish-next @@ -20,5 +20,5 @@ $BAZEL build --config=release $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" - $BAZEL run -- ${packageLabel}.publish --access public --tag next + $BAZEL run --config=release -- ${packageLabel}.publish --access public --tag next done