mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-16 19:08:28 +00:00
SQSCANGHA-92 Update scripts/sanity-checks.sh
Co-authored-by: Julien HENRY <julien.henry@sonarsource.com>
This commit is contained in:
parent
61b9a41a43
commit
60259f7a9c
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
if [[ ! "${INPUT_SCANNERVERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
if [[ ! "${INPUT_SCANNERVERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||||
echo "::error title=SonarScanner::Invalid scannerVersion format. Expected format: x.y.z.w (e.g., 7.1.0.4889)"
|
echo "::error title=SonarScanner::Invalid scannerVersion '${INPUT_SCANNERVERSION}'. Expected format: x.y.z.w (e.g., 7.1.0.4889)"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue