1
0
mirror of https://github.com/rancher/os.git synced 2025-06-20 12:11:56 +00:00
os/scripts/release-build
2018-12-05 16:31:40 +08:00

19 lines
294 B
Bash
Executable File

#!/bin/bash
set -ex
cd $(dirname $0)/..
source ./scripts/version
export REPO_VERSION=$VERSION
if [[ -n "$DIRTY" || -z "$GIT_TAG" ]]; then
export REPO_VERSION=master
fi
export COMPRESS="gzip -9"
./scripts/ci
# from scripts/ci
echo PREPARE
./scripts/prepare
echo PACKAGE
./scripts/package