[前][次][番号順一覧][スレッド一覧]

ruby-changes:57508

From: Nobuyoshi <ko1@a...>
Date: Tue, 3 Sep 2019 12:28:20 +0900 (JST)
Subject: [ruby-changes:57508] e6c4ea22d6 (master): Touch tar file itself to make gz file hash stable

https://git.ruby-lang.org/ruby.git/commit/?id=e6c4ea22d6

From e6c4ea22d62c95ce0590849219da505fef5a538e Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 3 Sep 2019 12:28:00 +0900
Subject: Touch tar file itself to make gz file hash stable


diff --git a/tool/make-snapshot b/tool/make-snapshot
index 2476df5..12a1a9f 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -521,6 +521,7 @@ after-update:: https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L521
         print "creating tarball... #{tarball}"
         if tar_create(tarball, v)
           puts $colorize.pass(" done")
+          File.utime(modified, modified, tarball) if modified
           next if tarball == file
         else
           puts $colorize.fail(" failed")
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]