Fix: make sure that only the top level node_modules directory is excluded (#3600)

* Fix: make sure that only the top level node_modules directory is excluded

* Remove old unused packing script
This commit is contained in:
Arik Fraimovich
2019-03-18 11:13:42 +02:00
committed by GitHub
parent ff0967f0d8
commit 9de676acee
2 changed files with 1 additions and 9 deletions

View File

@@ -1,8 +0,0 @@
#!/bin/bash
NAME=redash
VERSION=$(python ./manage.py version)
FULL_VERSION=$VERSION+b$CIRCLE_BUILD_NUM
FILENAME=$NAME.$FULL_VERSION.tar.gz
sed -ri "s/^__version__ = '([A-Za-z0-9.-]*)'/__version__ = '$FULL_VERSION'/" redash/__init__.py
tar -zcv -f $FILENAME --exclude="optipng*" --exclude=".git*" --exclude="*.pyc" --exclude="*.pyo" --exclude="venv" --exclude="node_modules" *