diff --git a/.drone/drone.sh b/.drone/drone.sh index b0d196f..2006971 100755 --- a/.drone/drone.sh +++ b/.drone/drone.sh @@ -1,5 +1,13 @@ #!/bin/bash +# Cleanup previous Drone build +if [ -d "assets" ]; then + rm -rf assets +fi +if [ -d "build" ]; then + rm -rf build +fi + # Decrypt Telemetry Authenticator rm -rf tmext/TelemetryClassAuthenticator.cpp && \ openssl aes-256-cbc -k ${TCA_PASS} -in .drone/TelemetryClassAuthenticator.cpp.enc -out tmext/TelemetryClassAuthenticator.cpp -d -pbkdf2