Skip to content

Conversation

tumbarumba
Copy link
Member

Instead of hard-coding the version into build.gradle, this change derives the version from git tags.

If the HEAD commit has a tag in the format "vM.N", the version number M.N is used directly. Otherwise, a snapshot version is assumed, and the version becomes M.(N+1)-SNAPSHOT.

@tumbarumba tumbarumba merged commit b943810 into hamcrest:master Sep 8, 2024
2 checks passed
@tumbarumba tumbarumba deleted the version-from-git branch September 8, 2024 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant