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

showing "The Turnover calculator plugin is up to date." even i have push new update #495

Open Jvon550 opened 2 years ago

Jvon550 commented 2 years ago

please check this i'm new in plugin development thanks

require 'plugin-update-checker/plugin-update-checker.php';
$myUpdateChecker = Puc_v4_Factory::buildUpdateChecker(
    'https://github.com/Jvon550/turnover-calculator/',
    __FILE__,
    'Turnover calculator'
);

//Set the branch that contains the stable release.
$myUpdateChecker->setBranch('master');
//Optional: If you're using a private repository, specify the access token like this:
// $myUpdateChecker->setAuthentication('your-token-here');
YahnisElsts commented 2 years ago

There's not enough information to say what exactly the problem is, but one potential issue that I noticed is that the Version header in your 2.4 release is 2.3, not 2.4.

What is the version that is currently installed on your site? Have you tried clicking the "check for updates" link under the plugin description on the "Plugins" page?