U
This commit is contained in:
parent
b6fdcbebfd
commit
271d79bb64
@ -6,19 +6,22 @@ if [[ -z "${BUILD_PATH}" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm buildVersion.txt
|
||||
cp env/buildVersion.txt .
|
||||
rm -r env
|
||||
mkdir env && de env
|
||||
mkdir env
|
||||
cd env
|
||||
[[ $? -ne 0 ]] && {
|
||||
echo "Failed to create the env"
|
||||
exit 1
|
||||
}
|
||||
cp -r ../../../git-teaspeak/default_files/{certs,commanddocs,geoloc,resources,*.sh} .
|
||||
cp -rf ../../../git-teaspeak/default_files/{certs,commanddocs,geoloc,resources,*.sh} .
|
||||
[[ $? -ne 0 ]] && {
|
||||
echo "Failed to copy env"
|
||||
exit 1
|
||||
}
|
||||
|
||||
cp -r ../../../music/providers .
|
||||
cp -rf ../../../music/providers .
|
||||
[[ $? -ne 0 ]] && {
|
||||
echo "Failed to copy providers"
|
||||
exit 1
|
||||
@ -30,6 +33,11 @@ cp ../../environment/TeaSpeakServer .
|
||||
exit 1
|
||||
}
|
||||
cd ..
|
||||
mv buildVersion.txt env/buildVersion.txt
|
||||
[[ $? -ne 0 ]] && {
|
||||
echo "Failed to move the build version back"
|
||||
exit 1
|
||||
}
|
||||
|
||||
./generate_version.sh "${BUILD_PATH}" || {
|
||||
echo "Failed to generate version! ($?)"
|
||||
@ -49,4 +57,4 @@ cd ..
|
||||
./deploy_build.sh "${BUILD_PATH}" || {
|
||||
echo "Failed to deploy package! ($?)"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user