mirror of https://github.com/sbt/sbt.git
SOURCE_DATE_EPOCH is in seconds, let's pass milliseconds
This commit is contained in:
parent
4353098454
commit
1d0a415200
|
|
@ -1413,7 +1413,7 @@ object Defaults extends BuildCommon {
|
|||
config,
|
||||
s.cacheStoreFactory,
|
||||
s.log,
|
||||
sys.env.get("SOURCE_DATE_EPOCH").map(_.toLong).orElse(Some(0L))
|
||||
sys.env.get("SOURCE_DATE_EPOCH").map(_.toLong * 1000).orElse(Some(0L))
|
||||
)
|
||||
config.jar
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue