Skip to content

Commit

Permalink
Make reproducible
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Nov 2, 2023
1 parent 3459433 commit b12a4b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rakelib/epoch.rake
@@ -0,0 +1,5 @@
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

0 comments on commit b12a4b8

Please sign in to comment.