File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -13,21 +13,21 @@ if [ $currentBranch != 'master' ]; then
13
13
exit 1
14
14
fi
15
15
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
20
20
21
21
if [[ $# -eq 0 ]] ; then
22
22
printf " Release: use ` ` yarn release [major|minor|patch|x.x.x]` ` \n"
23
23
exit 1
24
24
fi
25
25
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`
31
31
git push
32
32
git push --tags
33
33
npm publish
You can’t perform that action at this time.
0 commit comments