1
0
mirror of https://github.com/rancher/os.git synced 2025-07-31 14:41:14 +00:00

Fix release build script

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit 2017-04-13 12:36:20 +00:00
parent 2c1e20662c
commit 3f0e76e866

View File

@ -1,12 +1,13 @@
#!/bin/bash
set -e
source $(dirname $0)/version
cd $(dirname $0)/..
source ./scripts/version
export REPO_VERSION=$VERSION
export COMPRESS="xz --format=lzma -9 --memlimit-compress=80% -e"
export INTEGRATION_TESTS=0
exec $(dirname $0)/ci
./scripts/ci
# make generated changelog
lastrelease=$(hub release | grep -v rc | head -n1 | tr -d ' \r\n')