mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
10 lines
410 B
Bash
Executable file
10 lines
410 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -u -e -o pipefail
|
|
|
|
# Use for BETA and RC releases
|
|
# Query Bazel for npm_package and ng_package rules with tags=["release-with-framework"]
|
|
# Publish them to npm (tagged next)
|
|
for p in $(bazel query --output=label 'attr("tags", "\[.*release-with-framework.*\]", //...) intersect kind(".*_package", //...) except //dist/...'); do
|
|
bazel run -- $p.publish --access public --tag next
|
|
done
|