Skip to content

Commit 8c23567

Browse files
committed
chore: fix release script
1 parent 8a16d59 commit 8c23567

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

release

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ echo "TEST"
1010
npx lerna run --concurrency 1 test
1111

1212
TAG="${1:-next}"
13-
shift
13+
14+
# Only shift if there's something to shift
15+
if [ "x$1" != "x" ]; then shift; fi;
16+
1417
npx lerna publish --exact --npm-tag="$TAG" "$@"
1518
yarn run changelog
1619
git add CHANGELOG.md

0 commit comments

Comments
 (0)