Jump to content

Minor versioning


Robert Zelník
 Share

Recommended Posts

Ryan, do you have any news regarding minor versioning of ProcessWire? It's somewhat difficult to maintain multiple ProcessWire installations in the current state, if the information about minor version is missing, so I actually don't know which version of PW2.2 is used. I suggested earlier to do that by adding tags in git (like 2.2.1, 2.2.2 etc.). It would also be great to add the minor version info in README.txt or in VERSION text file. Would be that the right way for ProcessWire, or do we need to find another method?

Link to comment
Share on other sites

I still plan to go the tags route, at least when it comes to version numbers like 2.2.1, 2.2.2, etc. Just haven't gotten to it yet, but will soon.

I don't think this is what you are looking for, but also wanted to mention how you can access the version number from the API. $config->version; holds the version number in a string, like '2.2.0'. You can also access the individual components as integers from ProcessWire::versionMajor; ProcessWire::versionMinor; and ProcessWire::versionRevision;

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...