Fixed issue #7. Now supports semantic versioning.
Merge pull request #8 from dtewinkel/issue7

Fixed issue #7. Now supports semantic versioning.