Skip to content

Commit a67fd48

Browse files
authored
Merge pull request element-hq#9567 from vector-im/dbkr/bye_bye_jenkins
Change jenkins script to package script
2 parents cc5911b + afc2b48 commit a67fd48

1 file changed

Lines changed: 4 additions & 18 deletions

File tree

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
11
#!/bin/bash
22

3-
set -e
3+
# Runs package.sh setting the version to git hashes of the riot-web,
4+
# react-sdk & js-sdk checkouts, for the case where these dependencies
5+
# are git checkouts.
46

5-
export NVM_DIR="$HOME/.nvm"
6-
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
7-
nvm use 10
8-
9-
set -x
10-
11-
# check out corresponding branches of dependencies.
12-
# clone the deps with depth 1: we know we will only ever need that one commit.
13-
`dirname $0`/fetch-develop.deps.sh --depth 1
14-
15-
yarn install
16-
17-
# run the mocha tests
18-
yarn test
19-
20-
# run eslint
21-
yarn lintall -- -f checkstyle -o eslint.xml || true
7+
set -ex
228

239
rm dist/riot-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist
2410

0 commit comments

Comments
 (0)