Teaspeak-Server/server/repro/build.sh
2020-01-24 19:39:43 +01:00

27 lines
490 B
Bash
Executable File

#!/bin/bash
BUILD_PATH=$1
if [[ -z "${BUILD_PATH}" ]]; then
echo "Missing versions path!"
exit 1
fi
./generate_version.sh "${BUILD_PATH}" || {
echo "Failed to generate version! ($?)"
exit 1
}
./generate_libraries.sh || {
echo "Failed to generate libraries! ($?)"
exit 1
}
./package_server.sh "${BUILD_PATH}" || {
echo "Failed to package server! ($?)"
exit 1
}
./deploy_build.sh "${BUILD_PATH}" || {
echo "Failed to deploy package! ($?)"
exit 1
}