plugin-update-checker icon indicating copy to clipboard operation
plugin-update-checker copied to clipboard

How to keep this script up to date automatically?

Open ehausen opened this issue 5 years ago • 3 comments

What would be the best way to keep this script up to date automatically?

ehausen avatar Aug 06 '19 15:08 ehausen

I'm trying now using it as a git submodule

ehausen avatar Aug 06 '19 15:08 ehausen

Personally, I add it using an SVN externals definition. I think this is similar to Git submodules.

However, I'm not sure if I can recommend this approach to other people. The master branch isn't guaranteed to be stable. As the primary maintainer, I usually have a pretty good idea of when it's OK to update the externals, but someone who doesn't closely follow the activity in this repository might not be able to do that safely.

Unfortunately, I don't know another way to completely automate updates. The closest alternative might be to use Composer and to regularly run composer update.

YahnisElsts avatar Aug 06 '19 16:08 YahnisElsts

I tried this as a git submodule, but unfortunately, if you use something like gitlab to host your plugin, when your plugin is updated in a WordPress instance, and the zip file is downloaded, it will not include all the files of the submodule.

jakeparis avatar Sep 25 '19 01:09 jakeparis