ruby-changes:55776
From: Nobuyoshi <ko1@a...>
Date: Wed, 22 May 2019 23:52:00 +0900 (JST)
Subject: [ruby-changes:55776] Nobuyoshi Nakada: 8fb77acac7 (trunk): Fix revision name
https://git.ruby-lang.org/ruby.git/commit/?id=8fb77acac7 From 8fb77acac70bab6924c063020b6fe3e93fece242 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 22 May 2019 23:50:07 +0900 Subject: Fix revision name * tool/make-snapshot (package): dump to stringize GIT revisions properly. diff --git a/tool/make-snapshot b/tool/make-snapshot index 0b3d284..cac32d3 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -286,7 +286,7 @@ def package(vcs, rev, destdir, tmp = nil) https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L286 v = v[0] end - open("#{v}/revision.h", "wb") {|f| f.puts "#define RUBY_REVISION #{revision}"} + open("#{v}/revision.h", "wb") {|f| f.puts "#define RUBY_REVISION #{revision.dump}"} version ||= (versionhdr = IO.read("#{v}/version.h"))[RUBY_VERSION_PATTERN, 1] version ||= begin -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/