Permalink
Browse files

Chore: Release to handle when there are no AUTHORS file change

  • Loading branch information...
1 parent b04cdb3 commit 6343e02739172f931c3bcbe2d6d00f3bae7f82d3 @rxaviers rxaviers committed Dec 14, 2016
Showing with 6 additions and 2 deletions.
  1. +6 −2 chore/release.sh
View
@@ -52,9 +52,13 @@ function error {
function update_authors {
h1 Update AUTHORS file
- grunt update-authors > /dev/null &&
+ grunt update-authors > /dev/null
+ if [ -z "$(git diff)" ]; then
+ echo No updates for AUTHORS file needed...
+ else
git commit -a -m 'AUTHORS: Update' > /dev/null &&
- git show --stat
+ git show --stat
+ fi
}
function update_version {

0 comments on commit 6343e02

Please sign in to comment.