diff --git a/scripts/package.sh b/scripts/package.sh index e1f5f3c3..73a1c511 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -6,9 +6,10 @@ version=`git describe --dirty --tags || echo unknown` npm run build mkdir -p packages -ln -s vector vector-$version +cp -r vector vector-$version +echo $version > vector-$version/version tar chvzf packages/vector-$version.tar.gz vector-$version -rm vector-$version +rm -r vector-$version echo echo "Packaged packages/vector-$version.tar.gz"