We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96b820d commit d0c2f73Copy full SHA for d0c2f73
bin/updep.sh
@@ -108,15 +108,17 @@ for svc in "${services[@]}"; do
108
fi
109
110
if [[ do_commit -eq 1 ]]; then
111
- git commit -am "chore: dependencies update"
+ if [[ $(git diff --stat) != '' ]]; then
112
+ git commit -am "chore: dependencies update"
113
- case "${v_type}" in
114
- minor|major|patch|prerelease) ;;
115
- *) v_type="prerelease"
116
- esac
+ case "${v_type}" in
+ minor|major|patch|prerelease) ;;
+ *) v_type="prerelease"
117
+ esac
118
- npm version "$v_type"
119
- git push --follow-tags
+ npm version "$v_type"
120
+ git push --follow-tags
121
+ fi
122
123
124
cd ${cwd}
0 commit comments