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

Touch tar file itself to make gz file hash stable

This commit is contained in:
Nobuyoshi Nakada 2019-09-03 12:28:00 +09:00
parent b0a7221dcf
commit e6c4ea22d6
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -521,6 +521,7 @@ after-update::
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")