jgitver / jgitver/jgitver-maven-plugin

useSnapshot=false and autoIncrementPatch (lightweight tag) not working as expected

Open
#188 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Groovy
Stars
166
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Attempting to use MAVEN strategy and setting useSnapshot to false, also using autoIncrementPatch with lightweight tags does not seem to generate expected versions.

attached is a patch that updates v1.9.0 to generate the expected versions.

[0001-Fix-autoIncrementPatch-and-useSnapshot-false-for-lig.patch](https://github.com/user-attachments/files/28759349/0001-Fix-autoIncrementPatch-and-useSnapshot-false-for-lig.patch)

built and tested against OpenJDK 17
if you use the patch, no attribution is required

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.