How to enable auto update feature which are in our custom plugin repository

Planned

Hi team,

We have developed a Plugin and deployed in our own repository and added the plugin url(https://xyz.com/my-plugin-0.0.1) to updatePlugins.xml file and we have given the url (https://xyz.com/update-my-plugin) of updatePlugins.xml to the users. Everyone able to install and work with the plugin.

 

Later then we have added new functionalities to the plugin and now the current url is https://xyz.com/my-plugin-0.0.2. We have updated this url in the same updatePlugins.xml file which is located at https://xyz.com/update-my-plugin.

By default, Intellij will check updates for every 24hrs...So I just seen next day in my system whether the plugin got updated or not.
Just the Plugin name has been updated means i am able to see it is pointing to the 2nd version (https://xyz.com/my-plugin-0.0.2) but the functionalities hasn't been  updated. 

Later I unistalled the plugin and installed then it is taking the new functionalities but I dont want this, It should automatically update.

I have tried in 2 to 3 different systems but the result is the same.

Please help me to achieve the auto update feature for my plugin.

Thanks,
Sai Nikhil

Please sign in to leave a comment.