Skip to content

Commit e02c411

Browse files
author
Rajat Saxena
committed
Modified release.sh
1 parent 86b6023 commit e02c411

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

release.sh

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,19 @@ fi
1414

1515
git checkout main
1616

17-
# update the version
18-
pnpm version "$1" --recursive
17+
# Update versions in apps
18+
for dir in apps/*/; do
19+
cd "$dir" || exit
20+
pnpm version "$1" --no-git-tag-version
21+
cd - > /dev/null || exit
22+
done
23+
24+
# Update versions in packages
25+
for dir in packages/*/; do
26+
cd "$dir" || exit
27+
pnpm version "$1" --no-git-tag-version
28+
cd - > /dev/null || exit
29+
done
1930

2031
# get the new version
2132
VERSION=$(grep -m1 '"version":' apps/web/package.json | cut -d'"' -f4)

0 commit comments

Comments
 (0)