Skip to content

Commit 02b07c9

Browse files
committed
🔨 Make sure we're on main in pnpm_version_patch.sh
1 parent ff81b2d commit 02b07c9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/pnpm_version_patch.sh

+8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
#!/bin/sh
22

3+
git checkout main
4+
git pull --autostash --prune --rebase
5+
36
VERSION=$(pnpm version patch --no-git-tag-version)
47

8+
pnpm i
9+
pnpm lint:fix
10+
11+
git status
12+
513
echo 'Do you want to publish @coderabbitai/bitbucket@'$VERSION'? (y/n) '
614
read Y
715
if [ "$Y" = "y" ]; then

0 commit comments

Comments
 (0)