jgitver / jgitver/jgitver-maven-plugin
autoIncrementPatch not working
- Dominant language
- Groovy
- Stars
- 166
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
Autoincrementpatch set to true in the jgitver.config.xml does not seem to work for me, anything i'm doing wrong?
Jgitver maven plugin version 1.9.0
```
false
MAVEN
MAX
true
false
false
false
true
8
1
master,main
true
.m2
```
output from maven-antrun echo plugin:
```
[INFO] Executing tasks
[WARNING] [echo] used version: 0.0.2-fix_build-SNAPSHOT
[WARNING] [echo] version calculated: 0.0.2-fix_build-SNAPSHOT
[WARNING] [echo] dirty: true
[WARNING] [echo] head_committer_name: henkhofs
[WARNING] [echo] head_commit_datetime: Wed Mar 20 21:05:33 2024 +0100
[WARNING] [echo] git_sha1_full: 28e116e8d55083b6963f4150c934f74c42446949
[WARNING] [echo] git_sha1_8: 28e116e8
[WARNING] [echo] branch_name: fix-build
[WARNING] [echo] head_tags: 0.0.2
[WARNING] [echo] head_annotated_tags:
[WARNING] [echo] head_lightweight_tags: 0.0.2
[WARNING] [echo] base_tag: 0.0.2
[WARNING] [echo] all_tags: 0.0.2,0.0.1
[WARNING] [echo] all_annotated_tags:
[WARNING] [echo] all_lightweight_tags: 0.0.2,0.0.1
[WARNING] [echo] all_version_tags: 0.0.2,0.0.1
[WARNING] [echo] all_version_annotated_tags:
[WARNING] [echo] all_version_lightweight_tags: 0.0.2,0.0.1
[WARNING] [echo] currpatch: 2
[WARNING] [echo] nextpatch: 0.0.2
[WARNING] [echo] nextminor: 0.1.0
[WARNING] [echo] nextmajor: 0.0.2
```
Looks like the next_patch_version is not calculated correctly, anything i'm missing or did I find a bug?
Contributor guide
Assessment
This issue has not been assessed yet.