[ARVADOS] updated: 1.4.2-12-g311443795

Git user git at public.arvados.org
Fri Jan 3 20:25:19 UTC 2020


Summary of changes:
 build/version-at-commit.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

       via  311443795cf368f62c984838d2ed385f6a95694c (commit)
      from  d9007d9fcab69b97f3eb8d85e4eb17b93c475b0b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 311443795cf368f62c984838d2ed385f6a95694c
Author: Tom Clegg <tom at tomclegg.ca>
Date:   Fri Jan 3 15:24:08 2020 -0500

    Update version number script to work with git 2.1.4.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at tomclegg.ca>

diff --git a/build/version-at-commit.sh b/build/version-at-commit.sh
index 2f514c82d..3a52c4b20 100755
--- a/build/version-at-commit.sh
+++ b/build/version-at-commit.sh
@@ -12,6 +12,7 @@ if ! git describe --exact-match --match "$versionglob" "$commit" 2>/dev/null; th
         # x.y.(z+1).preTIMESTAMP, where x.y.z is the latest released ancestor of $commit
         v=$(git describe --abbrev=0 --match "$versionglob" "$commit" | perl -pe 's/(\d+)$/$1+1/e')
     fi
-    ts=$(TZ=UTC git log -n1 --format=%cd --date="format-local:%Y%m%d%H%M%S" "$commit")
+    isodate=$(TZ=UTC git log -n1 --format=%cd --date=iso "$commit")
+    ts=$(TZ=UTC date --date="$isodate" "+%Y%m%d%H%M%S")
     echo "$v.pre$ts"
 fi

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list