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

formula: add a time method for use as the build time #11659

Merged
merged 1 commit into from
Jul 7, 2021

Commits on Jul 6, 2021

  1. formula: add a time method for use as the build time

    A number of formulae use a variant of `Time.now` to generate the build
    time of the formula. Let's define a method to make sure that:
    
    1. it uses `SOURCE_DATE_EPOCH` whenever available; and,
    2. it uses `utc`.
    
    Both should help with build reproducibility.
    
    See Homebrew/homebrew-core#80608.
    carlocab committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    3776ba9 View commit details
    Browse the repository at this point in the history