XF 2.1 [SOLVED] Addon version numbers before building

asprin

Active member
Hi folks,

I'm about to use the build command for my addon. Before I do run that, I wanted to make sure if I need to do anything to the version_id and version_string as currently in the installed addons page, I'm seeing something like "My Addon Name 1.0.0 Alpha"

If I simply run the build command, would the exported addon still be showing up as Alpha? FWIW, here is the current data inside the json file:
JavaScript:
{
"version_id": 1000010,
"version_string": "1.0.0 Alpha"
}
 
Building the add-on doesn't change the version number.

If you want to change the version details the recommended way of doing it is the xf-addon:bump-version command.
 
Back
Top Bottom