From 2a7b24e9693feef6c0901df7056939d473de9a25 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Tue, 2 Feb 2016 16:09:33 +0000 Subject: [PATCH] Update jenkins.sh to include the git commit --- jenkins.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins.sh b/jenkins.sh index 61441fb736..66ac867083 100755 --- a/jenkins.sh +++ b/jenkins.sh @@ -5,5 +5,5 @@ nvm use 4 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-build.tar.gz || true # rm previous artifacts without failing if it doesn't exist -tar -zcvhf vector-build.tar.gz vector #g[z]ip, [c]reate archive, [v]erbose, [f]ilename, [h]ard-dereference (do not archive symlinks) +rm vector-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist +tar -zcvhf vector-$GIT_COMMIT.tar.gz vector #g[z]ip, [c]reate archive, [v]erbose, [f]ilename, [h]ard-dereference (do not archive symlinks)