drone cleanup previous build
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
279cd5ac3b
commit
ab248413ea
1 changed files with 8 additions and 0 deletions
|
@ -1,5 +1,13 @@
|
||||||
#!/bin/bash
|
#!/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
|
# Decrypt Telemetry Authenticator
|
||||||
rm -rf tmext/TelemetryClassAuthenticator.cpp && \
|
rm -rf tmext/TelemetryClassAuthenticator.cpp && \
|
||||||
openssl aes-256-cbc -k ${TCA_PASS} -in .drone/TelemetryClassAuthenticator.cpp.enc -out tmext/TelemetryClassAuthenticator.cpp -d -pbkdf2
|
openssl aes-256-cbc -k ${TCA_PASS} -in .drone/TelemetryClassAuthenticator.cpp.enc -out tmext/TelemetryClassAuthenticator.cpp -d -pbkdf2
|
||||||
|
|
Loading…
Reference in a new issue