Build to the 'webapp' directory instead
People may have config files in vector/ so it would be nonideal if we started overwriting them / blowing them away.
This commit is contained in:
@@ -8,9 +8,10 @@ else
|
||||
version=`git describe --dirty --tags || echo unknown`
|
||||
fi
|
||||
|
||||
npm run clean
|
||||
npm run build
|
||||
mkdir -p dist
|
||||
cp -r vector vector-$version
|
||||
cp -r webapp vector-$version
|
||||
echo $version > vector-$version/version
|
||||
tar chvzf dist/vector-$version.tar.gz vector-$version
|
||||
rm -r vector-$version
|
||||
|
||||
Reference in New Issue
Block a user