diff options
author | Thomas Grainger <tagrain@gmail.com> | 2013-05-31 03:05:58 +0200 |
---|---|---|
committer | Thomas Grainger <tagrain@gmail.com> | 2013-05-31 03:05:58 +0200 |
commit | fe0104f336b533ec37097e544a345c72042f0217 (patch) | |
tree | 88ed09d7373f2597ebd74b15d85d84ff7453e0c9 | |
parent | 0aa0c69ba32d7bfef7f06991c73103b510fd70b6 (diff) | |
download | etherpad-lite-fe0104f336b533ec37097e544a345c72042f0217.zip |
Use rev-parse to get short commit hash
Also ensures unique
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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: |