UNCLASSIFIED - NO CUI

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

ci: added linting for changelog and version

parent 24ebe5fb
No related branches found
No related tags found
1 merge request!158Linting for changelog and version
Pipeline #136051 failed
...@@ -5,7 +5,7 @@ default_version=$(git show ${CI_DEFAULT_BRANCH}:${CHART_FILE} | ggrep -oP 'versi ...@@ -5,7 +5,7 @@ default_version=$(git show ${CI_DEFAULT_BRANCH}:${CHART_FILE} | ggrep -oP 'versi
# check for command error # check for command error
if [ $? -ne 0 ]; then 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 exit 1
fi fi
...@@ -14,7 +14,7 @@ local_version=$(cat ${CHART_FILE} | ggrep -oP 'version: \K(.*)') ...@@ -14,7 +14,7 @@ local_version=$(cat ${CHART_FILE} | ggrep -oP 'version: \K(.*)')
# check for command error # check for command error
if [ $? -ne 0 ]; then 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 exit 1
fi 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