Invert check for "Release" build

This makes the scripts runnable directly from the terminal where the
'CONFIGURATION' variable is not set to any value.
This commit is contained in:
Danny Moesch 2020-12-30 15:44:11 +01:00 committed by Mingshen Sun
parent 43ae029bfe
commit 9487eea192
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ if [[ "${CI}" == "true" ]]; then
exit 0 exit 0
fi fi
if [[ "${CONFIGURATION}" != "Debug" ]]; then if [[ "${CONFIGURATION}" == "Release" ]]; then
echo "Running during a release build. Formatting is skipped." echo "Running during a release build. Formatting is skipped."
exit 0 exit 0
fi fi

View file

@ -5,7 +5,7 @@ if [[ "${CI}" == "true" ]]; then
exit 0 exit 0
fi fi
if [[ "${CONFIGURATION}" != "Debug" ]]; then if [[ "${CONFIGURATION}" == "Release" ]]; then
echo "Running during a release build. Linting is skipped." echo "Running during a release build. Linting is skipped."
exit 0 exit 0
fi fi