13200:test new job with timestamp only removing hash
authorFernando Monserrat <fernando.monserrat@gmail.com>
Thu, 8 Mar 2018 20:19:15 +0000 (17:19 -0300)
committerFernando Monserrat <fernando.monserrat@gmail.com>
Mon, 2 Apr 2018 13:56:54 +0000 (10:56 -0300)
Arvados-DCO-1.1-Signed-off-by: Fernando Monserrat <fmonserrat@veritasgenetics.com>

build/run-library.sh

index ba946882ee49c2a3beb840d841732e87f28bffe3..df86deeb36c3cec52ec1c72acbe24ac502badb5f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+  #!/bin/bash
 # Copyright (C) The Arvados Authors. All rights reserved.
 #
 # SPDX-License-Identifier: AGPL-3.0
@@ -57,8 +57,8 @@ version_from_git() {
         prefix="0.1"
     fi
 
-    declare $(format_last_commit_here "git_ts=%ct git_hash=%h")
-    echo "${prefix}.$(date -ud "@$git_ts" +%Y%m%d%H%M%S).$git_hash"
+    declare $(format_last_commit_here "git_ts=%ct")
+    echo "${prefix}.$(date -ud "@$git_ts" +%Y%m%d%H%M%S)"
 }
 
 nohash_version_from_git() {