XF 2.2 Mistake in add-on version

BassMan

Well-known member
Hi,

I've made a mistake when updating an add-on in the version. I've added an additional zero before number 7: 20101070

How can I revert it back to the previous state?
 
I don't know if it's right or wrong, but the way I use to do it is I would manually edit the xf_addon table and then edit the addon.json file for the add-on.

It always seemed to work when I did it, but I don't know if anything has changed or not.
 
Thank you. Actually, I haven't released it yet, I just made a bump-version. So the version in xf_addon table has not changed.

Maybe it's ok if I change only the addon.json file now.
 
php cmd.php xf-addon:bump-version --force Vendor/AddOn --version-id 2010170
 
Last edited:
Top Bottom