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

Add buildInfo.json to static dir #34

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Add buildInfo.json to static dir #34

merged 1 commit into from
Oct 10, 2024

Conversation

nginx-jack
Copy link
Collaborator

@nginx-jack nginx-jack commented Oct 8, 2024

Proposed changes

This creates a buildInfo.json file containing the theme version and the timestamp of the build.
The idea being, that we could have a script call the buildInfo.json endpoint for each site build, and aggregate the info, or warn us of themes being out of date.
This can easily be expanded to include more data as we want.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • I have updated any relevant documentation (README.md and CHANGELOG.md)

@nginx-jack nginx-jack requested a review from a team as a code owner October 8, 2024 13:20
@nginx-jack nginx-jack merged commit 9c59fab into main Oct 10, 2024
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.

4 participants