Repository: commons-math
Updated Branches:
  refs/heads/master fc7ee95d9 -> cc22c1f6e


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.

Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/e99c2f89
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/e99c2f89
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/e99c2f89

Branch: refs/heads/master
Commit: e99c2f8940d8f0fb42ec9dd6ccf2665d82dfbdea
Parents: fc7ee95
Author: Luc Maisonobe <l...@apache.org>
Authored: Fri Dec 19 10:56:29 2014 +0100
Committer: Luc Maisonobe <l...@apache.org>
Committed: Fri Dec 19 10:56:29 2014 +0100

----------------------------------------------------------------------
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/e99c2f89/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f5ba759..db3f3aa 100644
--- a/pom.xml
+++ b/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>
 

Reply via email to