Include config.sample.json in dist tarball

Fixes https://github.com/vector-im/vector-web/issues/2607
This commit is contained in:
Richard van der Hoff 2016-11-21 10:40:35 +00:00
parent 5cd4f88b8c
commit 9ce2adceef
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@ fi
npm run clean npm run clean
npm run build$dev npm run build$dev
# include the sample config in the tarball. Arguably this should be done by
# `npm run build`, but it's just too painful.
cp config.sample.json webapp/
mkdir -p dist mkdir -p dist
cp -r webapp vector-$version cp -r webapp vector-$version
echo $version > vector-$version/version echo $version > vector-$version/version