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

Version 3.2.1 produces different version number than 3.2.0 for git #229

Open
apr4 opened this issue Sep 6, 2024 · 3 comments
Open

Version 3.2.1 produces different version number than 3.2.0 for git #229

apr4 opened this issue Sep 6, 2024 · 3 comments

Comments

@apr4
Copy link

apr4 commented Sep 6, 2024

From version 3.2.1 this plugin uses the git command git log -1 --no-merges ...
Up to 3.2.0 the git command was git rev-parse --verify HEAD

This produces different results, if your workflow uses merges for release version. The version generated by the plugin does not match the actual SCM version.

@slawekjaranowski
Copy link
Member

The change was did in apache/maven-scm#193

@kwin

@grumpymatt
Copy link

This seems like a pretty significant behavior change. Any way to get the previous behavior through config? We want the merge commit in our workflow.

@kwin
Copy link

kwin commented Nov 5, 2024

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

4 participants