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:
parent
43ae029bfe
commit
9487eea192
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ if [[ "${CI}" == "true" ]]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
if [[ "${CONFIGURATION}" != "Debug" ]]; then
|
||||
if [[ "${CONFIGURATION}" == "Release" ]]; then
|
||||
echo "Running during a release build. Formatting is skipped."
|
||||
exit 0
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ if [[ "${CI}" == "true" ]]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
if [[ "${CONFIGURATION}" != "Debug" ]]; then
|
||||
if [[ "${CONFIGURATION}" == "Release" ]]; then
|
||||
echo "Running during a release build. Linting is skipped."
|
||||
exit 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue