aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 109d908..fc79eba 100644
--- a/Makefile
+++ b/Makefile
@@ -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"; \