Merge pull request #2614 from vector-im/rav/include_sample_config_in_tarball

Include config.sample.json in dist tarball
pull/2620/head
David Baker 2016-11-21 11:02:31 +00:00 committed by GitHub
commit 186b4abfd8
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