UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 487a6ff2 authored by Zachariah Dzielinski's avatar Zachariah Dzielinski
Browse files

ci: added linting for changelog and version

parent 0555c023
No related branches found
No related tags found
1 merge request!158Linting for changelog and version
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment