[ARVADOS] updated: 1.3.0-2063-g0d600c9b6

Git user git at public.arvados.org
Wed Jan 15 14:19:52 UTC 2020


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

       via  0d600c9b603b0462ff788ab1f550718f2eaa8924 (commit)
      from  8b194e279b77c15ddd7c9231e8afd86e1720605e (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 0d600c9b603b0462ff788ab1f550718f2eaa8924
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