BassMan Well-known member May 10, 2021 #1 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?
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?
Snog Well-known member May 10, 2021 #2 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.
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.
BassMan Well-known member May 10, 2021 #3 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.
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.
Jeremy P XenForo developer Staff member May 10, 2021 #4 php cmd.php xf-addon:bump-version --force Vendor/AddOn --version-id 2010170 Last edited: May 10, 2021
BassMan Well-known member May 10, 2021 #5 Jeremy P said: php cmd.php xf-addon:bump-version --force Vendor/AddOn 2010170 Click to expand... Thank you, but I get this: Too many arguments, expected arguments "command" "id". Maybe I need to release the add-on first.
Jeremy P said: php cmd.php xf-addon:bump-version --force Vendor/AddOn 2010170 Click to expand... Thank you, but I get this: Too many arguments, expected arguments "command" "id". Maybe I need to release the add-on first.
Jeremy P XenForo developer Staff member May 10, 2021 #6 Ah, my mistake, you pass the ID interactively. So, just: Code: php cmd.php xf-addon:bump-version --force Vendor/AddOn Or, if you want to pass it in the command: Code: php cmd.php xf-addon:bump-version --force Vendor/AddOn --version-id 2010170
Ah, my mistake, you pass the ID interactively. So, just: Code: php cmd.php xf-addon:bump-version --force Vendor/AddOn Or, if you want to pass it in the command: Code: php cmd.php xf-addon:bump-version --force Vendor/AddOn --version-id 2010170