Skip to content

Commit c20f208

Browse files
committed
#NOISSUE Fix publish script
1 parent 8fc84fe commit c20f208

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/prepublish.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm config set tag-version-prefix "${APP_NAME}-"
1515
cd ./package
1616

1717
### BUMP VERSION
18-
if [ "$BRANCH" = "master" ]
18+
if [ "$BRANCH" = "main" ]
1919
then
2020
# build with a normal version
2121
npm --no-git-tag-version version patch
@@ -29,7 +29,7 @@ fi
2929
npm run build
3030

3131
### PUSH TAG AND COMMIT
32-
if [ "$BRANCH" = "master" ]
32+
if [ "$BRANCH" = "main" ]
3333
then
3434
git add ..
3535
git commit -m "${APP_NAME}-${RMG_VER} release"

0 commit comments

Comments
 (0)