From 9ce2adceef2851ed2b262c4ed54bfae3e58c1e2f Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 21 Nov 2016 10:40:35 +0000 Subject: [PATCH] Include config.sample.json in dist tarball Fixes https://github.com/vector-im/vector-web/issues/2607 --- scripts/package.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/package.sh b/scripts/package.sh index 05227e1b..5c1fdd5e 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -15,6 +15,11 @@ fi npm run clean 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 cp -r webapp vector-$version echo $version > vector-$version/version