Don't use branch name in Git buildnumber.
As we want to build the artifacts from a clean checkout of a tag, we are in 'detached head' state, without a branch name. The build number will retain the most important thing for traceability: the last commit SHA id.
This commit is contained in:
parent
fc7ee95d9c
commit
e99c2f8940
2
pom.xml
2
pom.xml
|
@ -401,7 +401,7 @@
|
|||
<!-- Temporary fix to replace svn-based build number with git-based build number -->
|
||||
<buildnumber.skip>true</buildnumber.skip>
|
||||
<math.jgit.buildnumber.version>1.2.8</math.jgit.buildnumber.version>
|
||||
<implementation.build>${git.branch}-${git.revision}; ${maven.build.timestamp}</implementation.build>
|
||||
<implementation.build>${git.revision}; ${maven.build.timestamp}</implementation.build>
|
||||
|
||||
</properties>
|
||||
|
||||
|
|
Loading…
Reference in New Issue