haciendaio / hacienda

Hacienda is the new shiny open source content service - built in Manchester, UK
GNU Affero General Public License v3.0
73 stars 10 forks source link

Mismatch in versioning #10

Closed mmircea16 closed 9 years ago

mmircea16 commented 9 years ago

There is a tag on github named "0.1.0" that should designate the version hacienda is at. It is not in sync with the version used in gemspec.

I propose to used semantic versioning and the following scheme: major.minor.patch+build.x.sha . The "major.minor.patch" would read from the last tag we have on git while "x" would be the number of commits since that tag and "sha" the current sha. More info here: http://semver.org/spec/v2.0.0-rc.1.html point 12. This would mean that releasing a new version would mean adding a new tag on git.

Say that the last tag is 0.3.2 and there are 40 commits since then, the version would be 0.3.2+build.40.23ef98.

Any comments?