Update jenkins.sh to include the git commit
This commit is contained in:
parent
b363eafbc8
commit
2a7b24e969
|
@ -5,5 +5,5 @@ nvm use 4
|
||||||
npm install
|
npm install
|
||||||
(cd node_modules/matrix-react-sdk && npm run build) # npm doesn't do this when dependencies point at github.com >:(
|
(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
|
npm run build # Dumps artificats to /vector
|
||||||
rm vector-build.tar.gz || true # rm previous artifacts without failing if it doesn't exist
|
rm vector-*.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)
|
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)
|
||||||
|
|
Loading…
Reference in New Issue