From 40d663a7c4e44bc30eebf2521bd8f8d78dda3a1c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 9 Sep 2025 22:08:18 +0200 Subject: Makefile: print maintenance commit hash --- Makefile | 7 ++++--- 1 file 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"; \ -- cgit v1.2.3