From 2b0f4d5db162c5a50184daabe51afd5390e31064 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Tue, 2 Feb 2016 16:29:25 +0000 Subject: [PATCH] Be more specific about the git dir --- jenkins.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins.sh b/jenkins.sh index 494aeeb399..2fd3048ff9 100755 --- a/jenkins.sh +++ b/jenkins.sh @@ -6,5 +6,5 @@ npm install (cd node_modules/matrix-react-sdk && npm run build) # npm doesn't do this when dependencies point at github.com >:( npm run build # Dumps artificats to /vector rm vector-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist -REACT_SHA=$(cd node_modules/matrix-react-sdk && git rev-parse --short=12 HEAD) # use the ACTUAL SHA rather than assume develop +REACT_SHA=$(git --git-dir node_modules/matrix-react-sdk/.git rev-parse --short=12 HEAD) # use the ACTUAL SHA rather than assume develop tar -zcvhf vector-$GIT_COMMIT-react-$REACT_SHA.tar.gz vector #g[z]ip, [c]reate archive, [v]erbose, [f]ilename, [h]ard-dereference (do not archive symlinks)