We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45259f9 commit c33664fCopy full SHA for c33664f
rakelib/epoch.rake
@@ -0,0 +1,5 @@
1
+task "build" => "date_epoch"
2
+
3
+task "date_epoch" do
4
+ ENV["SOURCE_DATE_EPOCH"] = IO.popen(%W[git -C #{__dir__} log -1 --format=%ct], &:read).chomp
5
+end
0 commit comments