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

jgitver does not calculate release version correctly anymore #178

Open
merikan opened this issue Oct 3, 2023 · 0 comments
Open

jgitver does not calculate release version correctly anymore #178

merikan opened this issue Oct 3, 2023 · 0 comments

Comments

@merikan
Copy link

merikan commented Oct 3, 2023

see jgitver/jgitver#155

Tried to build a release the other day and realized that jgitver does not calculate the correct release version with annotated tag, it is calculated as snapshot. I have used jgitver in my projects since 2017 and it has worked flawlessly all the time.

Current version(s)

jgitver-maven-plugin v1.9.0
maven-wrapper v3.2.0
maven v3.9.4

git 2.42.0
openjdk 17.0.8.1 2023-08-24

I checked out the master branch with the latest release (2.0.0) from October 2022. At that time everything worked perfectly, but printing the version now, it is calculated as a snapshot.

master branch with latest release 2.0.0 from October 2022

jgitver-maven-plugin v1.9.0
maven-wrapper v3.1.1
maven v3.8.5

git 2.42.0
openjdk 17.0.8.1 2023-08-24

It seems like some external dependency (git,java,etc) has changed and is affecting jgitver but I can't remember which versions I was using at the time I built the latest release.

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

No branches or pull requests

1 participant