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

Derive script & style version string from file hash, not filemtime. #13

Merged
merged 1 commit into from
Aug 29, 2019

Conversation

kadamwhite
Copy link
Collaborator

@kadamwhite kadamwhite commented Aug 28, 2019

Fixes #6

The version of the dev manifest is less critical in this situation than the production bundles.

If there's a better or more performant hashing option, please comment below.

@kadamwhite kadamwhite added the reviewer needed needs :eyes: label Aug 28, 2019
@kadamwhite
Copy link
Collaborator Author

The two lint errors causing the Travis failure are fixed in #14 and may be ignored in this branch.

Copy link

@tareiking tareiking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice @kadamwhite - I've been caught out with this before and you're approach is spot on sir.

@kadamwhite kadamwhite merged commit 9db9243 into master Aug 29, 2019
@kadamwhite kadamwhite deleted the derive-version-from-hash branch August 29, 2019 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reviewer needed needs :eyes:
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reconsider filemtime() for version reference.
2 participants