Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit e02cc48

Browse files
committed
build: fix publish script
1 parent 03b297e commit e02cc48

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

publish-next.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ set -u -e -o pipefail
1111
NPM_PACKAGE_LABELS=`bazel query --output=label 'attr("tags", "\[.*release.*\]", //modules/...) intersect kind(".*_package", //modules/...)'`
1212
# build all npm packages in parallel
1313
bazel build --config=release $NPM_PACKAGE_LABELS
14+
1415
# publish all packages in sequence to make it easier to spot any errors or warnings
1516
for packageLabel in $NPM_PACKAGE_LABELS; do
1617
echo "publishing $packageLabel"

publish.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ set -u -e -o pipefail
1111
NPM_PACKAGE_LABELS=`bazel query --output=label 'attr("tags", "\[.*release.*\]", //modules/...) intersect kind(".*_package", //modules/...)'`
1212
# build all npm packages in parallel
1313
bazel build --config=release $NPM_PACKAGE_LABELS
14+
1415
# publish all packages in sequence to make it easier to spot any errors or warnings
15-
#for packageLabel in $NPM_PACKAGE_LABELS; do
16-
# echo "publishing $packageLabel"
17-
# bazel run -- ${packageLabel}.publish --access public --tag latest
18-
#done
16+
for packageLabel in $NPM_PACKAGE_LABELS; do
17+
echo "publishing $packageLabel"
18+
bazel run -- ${packageLabel}.publish --access public --tag latest
19+
done

0 commit comments

Comments
 (0)