From 8f95f87888eb5dea5ac9985945163dbda79cf138 Mon Sep 17 00:00:00 2001 From: Zachariah Dzielinski <dzielinski_zachariah@bah.com> Date: Tue, 19 Jan 2021 11:31:50 -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 af7af82590..840fea9b2e 100755 --- a/scripts/lint_version.sh +++ b/scripts/lint_version.sh @@ -5,7 +5,7 @@ default_version=$(git show ${CI_DEFAULT_BRANCH}:${CHART_FILE} | ggrep -oP 'versi # check for command error if [ $? -ne 0 ]; then - echo "Error: An unknown error has occurred when attempting to retrieve the default version" + echo "Error: An unknown error has occurred when attempting to retrieve the default version from ${CHART_FILE}" exit 1 fi @@ -14,7 +14,7 @@ local_version=$(cat ${CHART_FILE} | ggrep -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" + echo "Error: An unknown error has occurred when attempting to retrieve the local version from ${CHART_FILE}" exit 1 fi -- GitLab