Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derive version from git #419

Merged
merged 8 commits into from
Sep 8, 2024
Merged

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