mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
5 lines
150 B
Ruby
5 lines
150 B
Ruby
task "build" => "date_epoch"
|
|
|
|
task "date_epoch" do
|
|
ENV["SOURCE_DATE_EPOCH"] = IO.popen(%W[git -C #{__dir__} log -1 --format=%ct], &:read).chomp
|
|
end
|