Skip to content

Commit 9f08e74

Browse files
committed
configure git-commit-id-maven-plugin to include lightweight tags in describe
this is necessary because tags created via the github release page are lightweight instead of annotated the output of describe can be found in the generated META-INF/git.properties file
1 parent 7c4d4f9 commit 9f08e74

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,10 @@
362362
<generateGitPropertiesFile>true</generateGitPropertiesFile>
363363
<generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties</generateGitPropertiesFilename>
364364
<commitIdGenerationMode>full</commitIdGenerationMode>
365+
<!-- include lightweight tags in git describe (github release creates lightweight tags) -->
366+
<gitDescribe>
367+
<tags>true</tags>
368+
</gitDescribe>
365369
</configuration>
366370
</plugin>
367371
<plugin>

0 commit comments

Comments
 (0)