From 89ec6a6aa21853f0776b4089679d67b7c6543f39 Mon Sep 17 00:00:00 2001 From: Zachariah Dzielinski <dzielinski_zachariah@bah.com> Date: Tue, 19 Jan 2021 11:40:39 -0700 Subject: [PATCH] ci: added linting for changelog and version --- scripts/lint_version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lint_version.sh b/scripts/lint_version.sh index 32355d2071..81aa0476cb 100755 --- a/scripts/lint_version.sh +++ b/scripts/lint_version.sh @@ -5,7 +5,7 @@ default_version=$(git show origin/${CI_DEFAULT_BRANCH}:${CHART_FILE} | grep -oP # check for command error if [ $? -ne 0 ]; then - echo "Error: An unknown error has occurred when attempting to retrieve the default version from ${CHART_FILE}" + echo "Error: An unknown error has occurred while attempting to retrieve the default version from ${CHART_FILE}" exit 1 fi @@ -14,7 +14,7 @@ local_version=$(cat ${CHART_FILE} | grep -oP 'version: \K(.*)') # check for command error if [ $? -ne 0 ]; then - echo "Error: An unknown error has occurred when attempting to retrieve the local version from ${CHART_FILE}" + echo "Error: An unknown error has occurred while attempting to retrieve the local version from ${CHART_FILE}" exit 1 fi -- GitLab