CGCookie / blender-addon-updater

A module for enabling users to check for add-on updates and install new versions directly from Blender.
GNU General Public License v3.0
247 stars 42 forks source link

Option to enable pre-releases in the preferences #87

Closed agajdosi closed 7 months ago

agajdosi commented 1 year ago

It would be great if the updater had an option to enable prereleases for users who want to try the latest version of the add-on and are willing to test and risk a little bit. It would help the add-on developers to follow the RERO philosophy: Release early, release often.

I have implemented this for BlenderKit add-on where we wanted to improve the quality of the add-on and make it as easy as possible for the users to update to alpha, beta releases. TBH it works quite nice and I am happy with that - from 160k downloads on normal release we have 1k downloads on alphas. This base of users who helps us by using the prereleases is great.

How it could work is:

I would like to create a PR from the edits as I believe it could be useful for other add-on creators and users. Please let me know if this is something which seems good to you.

Screenshot 2023-04-13 at 16 55 02

schroef commented 1 year ago

That should be doable, i remember i added the option to add releases. If that is enabled in the addon you can actually pick a release yourself. I think it can actually do what you want. See this link; https://github.com/CGCookie/blender-addon-updater/issues/24#issuecomment-377286872

It looks like this in the addon Screen Shot 2023-04-13 at 11 15 26

You need to enable this in the addon part if you want to add it

schroef commented 1 year ago

This is the actuall pull from 2018 where i added the functionality

https://github.com/CGCookie/blender-addon-updater/pull/38

TheDuckCow commented 7 months ago

I'm going to close this as the suggestions by @schroef are on the right track, and any such implementation will be quite specific to naming conventions/flows that a given addon developer would want. If there's still questions, just chime back in on this thread!