update makefile to set version"

This commit is contained in:
Arik Fraimovich 2014-05-04 13:46:11 +03:00
parent 1bf56899f3
commit 96081de51f

View File

@ -10,6 +10,7 @@ deps:
cd rd_ui && grunt build
pack:
sed -r "s/^__version__ = '([0-9.]*)'/__version__ = '$(FULL_VERSION)'/" redash/__init__.py > redash/__init__.py
tar -zcv -f $(FILENAME) --exclude=".git*" --exclude="*.pyc" --exclude="*.pyo" --exclude="venv" --exclude="rd_ui/node_modules" --exclude="rd_ui/dist/bower_components" --exclude="rd_ui/app" *
upload: