Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions yarn-project/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,15 @@ function release_packages {
do_or_dryrun npm init -y
# NOTE: originally this was on one line, but sometimes snagged downloading end-to-end (most recently published package).
# Strictly speaking this could need a retry, but the natural time this takes should make it available by install time.
for package in "${packages_list[@]}"; do
for package in "${package_list[@]}"; do
do_or_dryrun npm install $package
done
rm -rf "$dir"
}

function release {
echo_header "yarn-project release"
# WORKTODO latest is only on master, otherwise use ref name
release_packages $(dist-tag) ${REF_NAME#v}
release_packages "$(dist_tag)" "${REF_NAME#v}"
}

case "$cmd" in
Expand Down