build: ensure that version stamping is applied when the npm_package publish action is called (#33512)

PR Close #33512
This commit is contained in:
Joey Perrott 2019-10-31 09:15:25 -07:00 committed by Andrew Kushnir
parent 7caed51c24
commit c4695bb387
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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