[ARVADOS-DEV] updated: 23fa740736501e4cf023a3a94a3f9e567e95c2fa
git at public.curoverse.com
git at public.curoverse.com
Wed Oct 15 10:56:06 EDT 2014
Summary of changes:
jenkins/run-build-packages.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 23fa740736501e4cf023a3a94a3f9e567e95c2fa (commit)
from ea45d699313db83eb9fc941bbd65872e1790b1e2 (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 23fa740736501e4cf023a3a94a3f9e567e95c2fa
Author: Ward Vandewege <ward at curoverse.com>
Date: Wed Oct 15 10:55:32 2014 -0400
Make sure to catch the merge commit when doing git log in the directory
that is to be packaged.
No issue #
diff --git a/jenkins/run-build-packages.sh b/jenkins/run-build-packages.sh
index 5f0d13e..7f8e711 100755
--- a/jenkins/run-build-packages.sh
+++ b/jenkins/run-build-packages.sh
@@ -235,9 +235,9 @@ fi
cd "$WORKSPACE"
-GIT_TIMESTAMP=`git log --format=format:%ct -n1 .`
+GIT_TIMESTAMP=`git log --first-parent --max-count=1 --format=format:%ct -n1 .`
HUMAN_READABLE_TIMESTAMP=`TZ=UTC date -d @$GIT_TIMESTAMP +%Y%m%d%H%M%S`
-GIT_HASH=`git log --format=format:$HUMAN_READABLE_TIMESTAMP.%h -n1 .`
+GIT_HASH=`git log --first-parent --max-count=1 --format=format:$HUMAN_READABLE_TIMESTAMP.%h -n1 .`
cd sdk/python
handle_python_package
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list