Skip to content

Commit 903fd5c

Browse files
committed
fix(release): revert change made by error in commit 8669751
1 parent e9042c1 commit 903fd5c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

release.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ if [ $currentBranch != 'master' ]; then
1313
exit 1
1414
fi
1515

16-
# if [[ -n $(git status --porcelain) ]]; then
17-
# printf "Release: Working tree is not clean (git status)\n"
18-
# exit 1
19-
# fi
16+
if [[ -n $(git status --porcelain) ]]; then
17+
printf "Release: Working tree is not clean (git status)\n"
18+
exit 1
19+
fi
2020

2121
if [[ $# -eq 0 ]] ; then
2222
printf "Release: use ``yarn release [major|minor|patch|x.x.x]``\n"
2323
exit 1
2424
fi
2525

26-
./node_modules/.bin/mversion $1
27-
./node_modules/.bin/conventional-changelog --infile CHANGELOG.md --same-file --preset angular
28-
./node_modules/.bin/doctoc README.md
29-
git commit -am "$(./node_modules/.bin/json -f package.json version)"
30-
git tag v`./node_modules/.bin/json -f package.json version`
26+
mversion $1
27+
conventional-changelog --infile CHANGELOG.md --same-file --preset angular
28+
doctoc README.md
29+
git commit -am "$(json -f package.json version)"
30+
git tag v`json -f package.json version`
3131
git push
3232
git push --tags
3333
npm publish

0 commit comments

Comments
 (0)