1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Show the latest commit hash after update

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-04-21 03:30:38 +00:00
parent 2c6e241462
commit 0db89a38f2

View file

@ -214,3 +214,8 @@ clean-srcs-ext::
clean-srcs-extra::
$(Q)$(RM) $(patsubst $(srcdir)/%,%,$(EXTRA_SRCS))
ifneq ($(filter $(VCS),git),)
update-src::
@$(BASERUBY) $(srcdir)/tool/colorize.rb pass "Latest commit hash = $(shell $(filter-out svn,$(VCS)) -C $(srcdir) rev-parse --short HEAD)"
endif