Skip to content

Commit 57a9179

Browse files
committed
chore: fix publish script to correctly get version from
1 parent cf30d4a commit 57a9179

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.bazelrc

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ test
4141
# Configures script to do version stamping.
4242
# See https://docs.bazel.build/versions/master/user-manual.html#flag--workspace_status_command
4343
build:release --workspace_status_command="node ./tools/bazel-stamp-vars.js"
44+
run:release --workspace_status_command="node ./tools/bazel-stamp-vars.js"
4445

4546
###############################
4647
# Typescript / Angular / Sass #

publish-next.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ bazel build --config=release $NPM_PACKAGE_LABELS
1515
# publish all packages in sequence to make it easier to spot any errors or warnings
1616
for packageLabel in $NPM_PACKAGE_LABELS; do
1717
echo "publishing $packageLabel"
18-
bazel run -- ${packageLabel}.publish --access public --tag next
18+
bazel run --config=release -- ${packageLabel}.publish --access public --tag next
1919
done

0 commit comments

Comments
 (0)