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:
parent
2c6e241462
commit
0db89a38f2
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue