Update release.sh

This commit is contained in:
Ivan Blinkov 2020-01-29 12:42:06 +03:00 committed by GitHub
parent 2d87ee822c
commit a8e7f864e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ if [[ -z "$1" ]]
then
source "${BASE_DIR}/venv/bin/activate"
python "${BASE_DIR}/build.py" "--enable-stable-releases"
set +x
set +e
rm -rf "${PUBLISH_DIR}" || true
git clone git@github.com:ClickHouse/clickhouse.github.io.git "${PUBLISH_DIR}"
cd "${PUBLISH_DIR}"
@ -31,7 +31,7 @@ then
git add *
git commit -a -m "add new release at $(date)"
git push origin master
set -x
set -e
cd "${BUILD_DIR}"
docker build -t "${FULL_NAME}" "${BUILD_DIR}"
docker tag "${FULL_NAME}" "${REMOTE_NAME}"