vivin / gradle-semantic-build-versioning

Gradle plugin to generate version-numbers and tags using semantic versioning
MIT License
85 stars 32 forks source link

Ignore patch when calculating the version from git tag. #93

Closed Nols1000 closed 6 years ago

Nols1000 commented 6 years ago

Hi,

Is there a way to ignore the patch when getting the version from previos tags. The tags would have the format major.minor.

Thanks in advance Nils-Börge Margotti

vivin commented 6 years ago

@Nols1000 Unfortunately not. The semantic version specification describes three components and so it is not possible to do just a major and minor version.