Skip to content

Commit ba3a367

Browse files
authored
chore: Fix release script (#661)
1 parent 1045f1c commit ba3a367

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

release.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ if [[ $# -eq 0 ]] ; then
1313
exit 1
1414
fi
1515

16-
mversion $1
17-
conventional-changelog --infile CHANGELOG.md --same-file --preset angular
18-
doctoc README.md
16+
yarn run mversion $1
17+
yarn run conventional-changelog --infile CHANGELOG.md --same-file --preset angular
18+
yarn run doctoc README.md
1919
git commit -am "$(json -f package.json version)"
2020
git tag v`json -f package.json version`
21-
git push
22-
git push --tags
21+
git push origin master
22+
git push --tags origin master
2323
npm publish

0 commit comments

Comments
 (0)