Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make shards reproducible #314

Merged
merged 1 commit into from
Jan 19, 2020
Merged

Make shards reproducible #314

merged 1 commit into from
Jan 19, 2020

Conversation

jelly
Copy link
Contributor

@jelly jelly commented Jan 15, 2020

By default the shards binary embeds a build date which makes it
impossible to rebuild due to time differences. Use SOURCE_DATE_EPOCH to
use a predictable timestamp as input for the date function which in turn
makes shards reproducible.

Motiviation: https://reproducible-builds.org

src/version.cr Outdated Show resolved Hide resolved
src/version.cr Outdated Show resolved Hide resolved
By default the shards binary embeds a build date which makes it
impossible to rebuild due to time differences. Use SOURCE_DATE_EPOCH to
use a predictable timestamp as input for the date function which in turn
makes shards reproducible.

Motiviation: https://reproducible-builds.org
@ysbaddaden ysbaddaden merged commit 35303e1 into crystal-lang:master Jan 19, 2020
@bcardiff bcardiff added this to the v0.10.0 milestone Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants