Skip to content

Commit 50714e8

Browse files
authored
Merge pull request #19 from OpenVoxProject/source-date-epoch
Set SOURCE_DATE_EPOCH for building
2 parents 834a2e2 + b805ac1 commit 50714e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/build.rake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ namespace :vox do
99
args.with_defaults(project: 'agent-runtime-main')
1010
project = args[:project]
1111

12+
ENV['SOURCE_DATE_EPOCH'] ||= `git log -1 --format=%ct`.chomp
13+
1214
abort 'You must provide a platform.' if args[:platform].nil? || args[:platform].empty?
1315
platform = args[:platform]
1416

0 commit comments

Comments
 (0)