Files
my-rook-config/build/release/release.sh
T
Bassam Tabbara c1dca04423 Use alpine linux in all containers
We know use alpine linux in containers to bring a few tool
dependencies we need including lsblk and others.

We know generate ACIs from docker containers instead of
creating ACIs with acbuild.
2016-10-14 17:02:38 -07:00

38 lines
708 B
Bash
Executable File

#!/bin/bash -e
scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source ${scriptdir}/common.sh
run_platforms() {
local action=${1}
local flavor=${2}
for p in ${RELEASE_CLIENT_SERVER_PLATFORMS}; do
${scriptdir}/${flavor}.sh ${action} both ${p%_*} ${p#*_}
done
for p in ${RELEASE_CLIENT_ONLY_PLATFORMS}; do
${scriptdir}/${flavor}.sh ${action} client ${p%_*} ${p#*_}
done
}
action=$1
shift
case ${action} in
build|publish)
flavor=$1
shift
run_platforms ${action} ${flavor} "$@"
;;
check)
github_check_release "$@"
;;
*)
echo "unknown action ${action}"
exit 1
;;
esac