Mark current version as v4-beta

This commit is contained in:
Arik Fraimovich
2018-02-14 17:06:51 +02:00
parent eae3b1dc0f
commit 927599cf00
4 changed files with 3 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
# Change Log
## v4.0.0 - UNRELEASED
## v4.0.0-beta - 2018-02-14
### Added

View File

@@ -4,5 +4,5 @@ VERSION=$(python ./manage.py version)
FULL_VERSION=$VERSION+b$CIRCLE_BUILD_NUM
FILENAME=$CIRCLE_ARTIFACTS/$NAME.$FULL_VERSION.tar.gz
sed -ri "s/^__version__ = '([0-9.]*)'/__version__ = '$FULL_VERSION'/" redash/__init__.py
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" *

View File

@@ -22,7 +22,6 @@ deployment:
branch: [master, /release.*/]
commands:
- bin/pack
# - python bin/release_manager.py $(CIRCLE_SHA1) $(BASE_VERSION) $(FILENAME)
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker build -t redash/redash:$(./manage.py version | sed -e "s/\+/./") .
- docker push redash/redash:$(./manage.py version | sed -e "s/\+/./")

View File

@@ -19,7 +19,7 @@ from redash.query_runner import import_query_runners
from redash.destinations import import_destinations
__version__ = '4.0.0'
__version__ = '4.0.0-beta'
def setup_logging():