frost icon indicating copy to clipboard operation
frost copied to clipboard

Git Updater integration

Open afragen opened this issue 3 years ago • 0 comments

What problem does this address?

Currently this theme is not in the repository so there is no simple method of updating when new releases are issued. This can be easily solved by including a couple of headers to style.css for use by Git Updater

Git Updater is free and only needs to be installed and active for this to work.

What is your proposed solution?

  1. Add a couple of headers to the style.css file.
  2. Cleanup the repository tags.
  • If you are tagging releases, Git Updater will use the tag for updating, though it does an array sort and the highest value is used. Currently the highest value is 2022.01.31
  • Using semantic versioning results in the fewest issues in the long run. Though date base versioning will work, you just need to be consistent.
  • Also, the current version and release don't match. https://github.com/wpengine/frost/issues/40
  • The only way to clean this up is to remove the non-semver tags.
  • Git Updater will use the "latest tag" to update with. Unfortunately, at present, this breaks the theme as the theme files are in a subfolder of the zip.

I will make a PR for the correct headers.

I am happy to answer any questions. Thanks!

afragen avatar Feb 07 '22 20:02 afragen