10-04-2015, 04:23 AM
I have had a different vision for version numbers altogether for a while. How about this:
The version that is declared in the plugin's Info.lua file is an "internal" version, used mainly for inter-plugin compatibility check ("GalExport plugin v.5 needs Gallery plugin at least v.7"). Version that is visible to the admin should come from an external source, such as the git commit hash, or GitHub release tag, and as such shouldn't be stored in the plugin at all.
The version that is declared in the plugin's Info.lua file is an "internal" version, used mainly for inter-plugin compatibility check ("GalExport plugin v.5 needs Gallery plugin at least v.7"). Version that is visible to the admin should come from an external source, such as the git commit hash, or GitHub release tag, and as such shouldn't be stored in the plugin at all.