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

Update releaser to regenerate generated field on index update #99

Merged
merged 1 commit into from
Feb 8, 2021

Commits on Jan 14, 2021

  1. Update releaser to regenerate generated field on index update

    Currently, the only time the `generated` field is ever written is when
    we invoke the repo.NewIndexFile() field. This means that contrary to
    what you would expect, the `generated` field is not updated when the
    index is updated.
    
    This adds a single line change that calls `time.Now()` after we have
    determined that the index is to be updated, and updates the `generated`
    field before the index is written.
    
    Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au>
    Niksko committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    b3b52b4 View commit details
    Browse the repository at this point in the history