We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ec58c2 commit 334e016Copy full SHA for 334e016
scripts/util-team-charts
@@ -5,11 +5,11 @@ set -x
5
CHARTS_REPO="https://raw.githubusercontent.com/rancher/ob-team-charts"
6
CHARTS_BRANCH="main"
7
8
-if grep -v "#" "$BUILD_YAML_PATH"| grep 'devChartsSource'; then
+if grep -v "^#" "$BUILD_YAML_PATH"| grep 'devChartsSource'; then
9
TMP_CHARTS_REPO=$(grep 'devChartsSource' "$BUILD_YAML_PATH"|cut -d" " -f2|tr -d ' ')
10
CHARTS_REPO=$(echo "$TMP_CHARTS_REPO" | sed 's/github\.com/raw\.githubusercontent\.com/g')
11
fi
12
-if grep -v "#" "$BUILD_YAML_PATH"| grep 'devChartsBranch'; then
+if grep -v "^#" "$BUILD_YAML_PATH"| grep 'devChartsBranch'; then
13
CHARTS_BRANCH=$(grep 'devChartsBranch' "$BUILD_YAML_PATH"|cut -d: -f2|tr -d ' ')
14
15
0 commit comments