YahnisElsts / plugin-update-checker

A custom update checker for WordPress plugins. Useful if you don't want to host your project in the official WP repository, but would still like it to support automatic updates. Despite the name, it also works with themes.
MIT License
2.22k stars 403 forks source link

Github assets issue (+ fix in PR) #514

Closed liedekef closed 1 year ago

liedekef commented 1 year ago

I created a PR #513 to fix issues with gihub and assets :

YahnisElsts commented 1 year ago

Good catch on the array index issue.

Regarding the main branch: I think the way PUC currently handles default branches and associated releases is sub-optimal, but I don't feel like rewriting that logic at this time. I'll merge the change.

Ideally, enabling release assets should probably enable releases regardless of the selected branch. Also, the existing vcs_update_detection_strategies filter should provide an easier way to enable specific strategies, maybe with something like an $availableStrategies argument.

liedekef commented 1 year ago

Well, when enabling release assets one just doesn't need to mention the branch and then all works ok :-) Thanks for the merge.