When the github version is not built with the ant build script, it uses r999 for development purposes (see #16). This causes released versions of LAM to not be loaded when someone accidentally bundles it with an addon instead of the correctly built version.
To fix this problem, the revision should be set in an extra file that is only loaded in stand alone mode and otherwise fall back to -1.
local MAJOR, MINOR = "LibAddonMenu-2.0", _LAM2_VERSION_NUMBER or -1
When the github version is not built with the ant build script, it uses r999 for development purposes (see #16). This causes released versions of LAM to not be loaded when someone accidentally bundles it with an addon instead of the correctly built version.
To fix this problem, the revision should be set in an extra file that is only loaded in stand alone mode and otherwise fall back to -1.
local MAJOR, MINOR = "LibAddonMenu-2.0", _LAM2_VERSION_NUMBER or -1