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:
parent
b0a7221dcf
commit
e6c4ea22d6
1 changed files with 1 additions and 0 deletions
|
@ -521,6 +521,7 @@ after-update::
|
||||||
print "creating tarball... #{tarball}"
|
print "creating tarball... #{tarball}"
|
||||||
if tar_create(tarball, v)
|
if tar_create(tarball, v)
|
||||||
puts $colorize.pass(" done")
|
puts $colorize.pass(" done")
|
||||||
|
File.utime(modified, modified, tarball) if modified
|
||||||
next if tarball == file
|
next if tarball == file
|
||||||
else
|
else
|
||||||
puts $colorize.fail(" failed")
|
puts $colorize.fail(" failed")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue