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
4 changes: 2 additions & 2 deletions packages/turbo-repository/scripts/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ echo "Version: ${TARGET}"
for dir in "${PKG_ROOT}"/npm/*; do
dep="@turbo/repository-$(basename "${dir}")"
# bump the native dependency version
cd "${dir}" && pnpm version "${TARGET}" --allow-same-version
cd "${dir}" && pnpm version "${TARGET}" --allow-same-version --no-git-checks

# bump the optional dependency listed in the metapackage
update_dep=$(jq ".optionalDependencies.\"${dep}\" = \$newVal" --arg newVal "${TARGET}" "${JS_PACKAGE_JSON}")
echo "${update_dep}" > "${JS_PACKAGE_JSON}"
done

#finally, bump the top-level version of the metapackage
cd "${PKG_ROOT}/js" && pnpm version "${TARGET}" --allow-same-version
cd "${PKG_ROOT}/js" && pnpm version "${TARGET}" --allow-same-version --no-git-checks
Loading