From ba3a36712f3ca2d532a846bf7823b5ec3393c651 Mon Sep 17 00:00:00 2001 From: Armand Abric Date: Tue, 19 Oct 2021 17:37:07 +0200 Subject: [PATCH] chore: Fix release script (#661) --- release.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/release.sh b/release.sh index c326eab08..1a4b36651 100755 --- a/release.sh +++ b/release.sh @@ -13,11 +13,11 @@ if [[ $# -eq 0 ]] ; then exit 1 fi -mversion $1 -conventional-changelog --infile CHANGELOG.md --same-file --preset angular -doctoc README.md +yarn run mversion $1 +yarn run conventional-changelog --infile CHANGELOG.md --same-file --preset angular +yarn run doctoc README.md git commit -am "$(json -f package.json version)" git tag v`json -f package.json version` -git push -git push --tags +git push origin master +git push --tags origin master npm publish