Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #2278 - anthraxx:fix/reproducible-build, r=duckinator
support SOURCE_DATE_EPOCH to make gem spec reproducible Optionally respect the SOURCE_DATE_EPOCH environment variable to be used instead of TODAY to allow reproducible builds of created gem specs. In case none is specified, fall back to the current time. ______________ The problem is that using TODAY will change during time which makes created artifacts not reproducible (bit by bit identical). Spec: https://reproducible-builds.org/specs/source-date-epoch/ Buy-in: https://reproducible-builds.org/docs/buy-in/ # Tasks: - [x] Describe the problem / feature - [x] Write tests - [x] Write code to solve the problem - [x] Get code review from coworkers / friends I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
- Loading branch information