From fe0104f336b533ec37097e544a345c72042f0217 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Fri, 31 May 2013 03:05:58 +0200 Subject: Use rev-parse to get short commit hash Also ensures unique --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 1c40a4ec..007f7297 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ node_js: - "0.10" install: - "bin/installDeps.sh" - - "export GIT_HASH=$(cat .git/HEAD | head -c 7)" + - "export GIT_HASH=$(git rev-parse --verify --short HEAD)" before_script: - "tests/frontend/travis/sauce_tunnel.sh" script: -- cgit v1.2.3