diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -21,12 +21,13 @@ maintenance: ruby @git_status="$$( git status --porcelain=v1 )" && \ if [ -z "$$git_status" ]; then \ - true ; \ + true; \ elif [ "$$git_status" = ' M Gemfile.lock' ]; then \ git commit -am 'bump dependencies' && \ - git push -q ; \ + git push -q && \ + git rev-parse HEAD; \ else \ - echo ; \ + echo; \ echo '-----------------------------------------------------------------'; \ echo 'Error: unrecognized modifications in the repository:'; \ echo "$$git_status"; \ |