How to test plugin update through WordPress plugin updater without tagging new release in the repo

I have been searching for hours trying to find a way to test the update process for my plugin before tagging a new release in the repo. I have a function that is called using add_action( 'upgrader_process_complete', 'my_plugin_upgrade_function', 10, 2); and I can't figure out how to test this prior to release.

Any help would be awesome!

Topic plugin-development updates Wordpress

Category Web


If you want to test the update process of your plugin, before you put the current version to the repository, I wrote a plugin for that: https://nikel.co/how-tos/worpress-plugin-dev-test-your-plugin-upgrade-process/

I hope it helps.


Change the version of the plugin to the lower version than version on WordPress plugin repository.

if current version on WordPress plugin repo is Version: 2.2.5 then change your version to Version: 2.2.4 and refresh the plugins page.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.