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