Skip to content

Commit

Permalink
include root package in version bump script (jupyterlab#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlqqq authored Mar 6, 2023
1 parent 63dff29 commit d11ae10
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
#
# see: https://github.com/lerna/lerna/issues/2369

root_package=../..

for package in ../*; do
touch $package/TEMP
git add $package/TEMP
touch $package/TEMP && git add $package/TEMP
done
touch $root_package/TEMP && git add $root_package/TEMP

(npx -p lerna -y lerna version --no-git-tag-version --no-push -y $1) || exit 1

for package in ../*; do
git rm -f $package/TEMP
done
git rm -f $root_package/TEMP

0 comments on commit d11ae10

Please sign in to comment.